I want to test http async response between two serwers.
Whole communication process between serwers I described below:
a) Server 1 send some data with method PUT to Serwer 2, and get the normal sync response with REQUEST ID in the message response body.
{
"REQUESTID":"10"
}
b) After that Serwer 2 starts sending asynchronous requests to Serwer 1 with method POST with various RESPONSE ID's in delay of 2 minutes until the REQUEST ID = RESPONSE ID.
Is there posiibility to test this scenario with 2 instances of jmeter installed on those 2 serwers?
My Solution for this is that after phase a), I extracted REQUEST ID with regular expression in Jmeter installed on Server 1.
And I also get simple java script for compare REQUEST ID and RESPONSE ID.
But I dont know how to connect Request from Jmeter on Server 2 to becone response for Jmeter on Server1.
Maybe is there possible in Jmeter to handle another Jmeter request? Or maybe another tool that can I use for this?
Aucun commentaire:
Enregistrer un commentaire