I want to do POST API performance test with Jmeter for the end to end system. Backend architecture is as follows,
API <-> [A system] <-API-> [B system]
The problem is when I am setting up Jmeter POST API it just generates 200 ok status for [A system] and does not care if the request is failed in further system. But I want to test the performance of the complete system and would like to know the RESPONSE OK or NG from [B system] for the POST API called from [A system]. Is there any solution to this concern? If more details are required about the problem let me know...
 
                        
JMeter knows nothing about downstream components which are deployed behind system
Atherefore you cannot test the whole sequence.The options are in:
If
system Bcan be queries somehow for the status of a particular request you could use While Controller to periodically check whethersystem Bhas processed the request and record the cumulative time using Transaction ControllerThe whole integrated system always acts at the speed of its slowest component so you can conduct 2 tests:
once you have the results you can compare the throughput and state which one is slower
It might be the case you can collect the statuses from the system B using JMeter PerfMon Plugin or SSHMon Listener
You can consider using Grafana to collect metrics from systems A and B so you will have aggregate dashboard with the results.