mercredi 13 janvier 2021

How to send response in every second and analyze the data responsed

I am new to Performance testing

I have send a request Upload file to api/document and the system will add in into queue and process one by one, then return status for every steps from IN QUEUE > IN PROGRESS > DONE

My scenario is to check how much time a file will take to process a file from UPLOAD to DONE state.

I tried to send POST request from jmeter but what I get is only pass status (the file will be added in queue and process later)

And also I would like to send request to api/doc/status=INPROGRESS to check if everyfiles are processed successfully and no more file in the queue, and caculate the time when start uploading till done

Any suggestion for me in this case? Any help would be very appreciated!

Image

This is how server response when there is no more document in progress

{

"status": "SUCCEEDED",

"data": []

}

Aucun commentaire:

Enregistrer un commentaire