Assertions with timers in JMETER

0

Good morning everyone, I have thousands of requests and two assertions in jMETER. How much does the requests, my SQL, The structure of my thread is as follows.

-I'mcurrentlysimulating5,000users.

-TheHTTPserviceIamtestingisanon-screenendpoint.-IsendaJSONintheBODY,anditwritestherecordtothebank,Iamsendingonlyvaliddata,fixedvalues,excepttheUUIDthatisdynamicforeachrequest.

{   "program": "001",    "level": "INFO",    "event": "REGISTER_ALUNO",    "message": {      "code": "$ {uuid}",       "operation": "Student register",       "Name": "John SQL SERVER10",       "enroll": "123"
   } }

What's happening: The requests are usually done and my Bean Shell UUID_GENERATOR is also done. However my JDBC request "ASSERT SQL SERVER INSERT", begin to give errors by the following fact, it validates in the database if the values passed in the request was entered, but due to the large number of requests some assertions are validating values that have not yet been entered in the bank because of the delay between the requests and with that giving error in the assertion.

What I need is some form of user a timer, for the assertions to be made, after the completion of the request that makes the recording in the bank.

As Jmeter runs the calls asynchronously, I could not execute something like

First UUID, AFTER request, AFTER, ASSERTS.

I tried to use some fixed and dynamic timers, but some assertions still remain out of the picture.

Someone has a controller or timer tip that I can use, to make the assertion be done successfully without "rushing".

Thanks to everyone.

Note: The same errors occur with the command line,

    
asked by anonymous 10.05.2018 / 17:13

0 answers