Answer the question
In order to leave comments, you need to log in
JMeter asynchronous request?
Good time. There is a JMeter test in which:
1. User authorization and obtaining an authorization token
2. The user gets JSON from the web api with an array of elements
3. A while loop is launched in which we go through each element, get the element id
3.1. We upload this element to another storage via web api using id
3.2. A while loop is launched that checks whether the element has loaded or not
3.2.1. We address to web api, we do check on availability of the given element in the second storage
3.3.2. If the data in the response is correct and the element has loaded, go to step 3.
3.4.3. If the data in the response came with the calculating status, we continue to wait, proceeding to step 3.2.
4. The results are written to a csv file.
Essence of the question: there is a user who takes data from one web api, and puts it into another web api element by element, checking whether each element has moved.
Question: Can step 3 be made asynchronous. Those. that the elements from the array were loaded into the web api not sequentially but asynchronously, i.e. is it possible to make an asynchronous post or get request in jmeter?
Answer the question
In order to leave comments, you need to log in
https://dzone.com/articles/how-to-use-the-parallel... i think this might help
It won't work 100%. You can always fake a request to the server. The easiest way to resolve such things on the client is to simply redirect if the page is not loaded in a frame.
Think about this - even if now we somehow contrive (there are ideas with parameters) - what's the use of this? Do you need a form to send a request? What will prevent me from building the same query?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question