The Project which I am working now require a performance test. So, I preferred JmeterJMeter for a load test and started learning one by one.
Now, When iI recorded a test and included a CSV file for the dynamic parameter. I see the recorded pages has clientidclient id in many httpHTTP POST data pages. This application passes a jsonJSON data for sending a request so in Body Parameter tab iI see JsonJSON type data.
So, i added Json added JSON Post Extractor for one httpHTTP request site passes alphanumeric value (5963948e2f123bd00a27d5cd)(5963948e2f123bd00a27d5cd)
. However, after iI executing the test the page returns an error page.
POST http://192.168.1.10/api/editClient/getClientInfo/
POST data: {"clientId":"5963948e2f123bd00a27d5cd"}
Response code: 400 Response message: Bad Request Response data : Failed to authenticate Token
POST http://192.168.1.10/api/editClient/getClientInfo/
POST data: {"clientId":"5963948e2f123bd00a27d5cd"}
Response code: 400
Response message: Bad Request
Response data: Failed to authenticate Token
can anyone help me on this.?