I am trying to test REST APIs using JMeter. My lead told me to do load testing on each API using JMeter. Currently I am testing a Get API request, and I am getting the below JSON response body with double quotation.
Now I have to pass this JSON body to another HTTP request and test the API.
My questions:
How can I get the values of ts and auth using split method like (ts=20190221004021 and auth=EngineeringSolutions:ydvMMlY2uxiKG0yuwh1IbVgR2mfqTQaQncTEaMr+Ef0=) and store them into two different variables and print them on log view.
I am trying to get ts and auth value from the json response using split method. I am able to split the URL into two by using the below code. But, this is not my solution. I want to get 'ts' and 'auth' values and store them in two different variables.
Can anyone guide me how I can trim and split the JSON response?
