Hi All,
I hope you are doing well. I have some concerns related to performance testing.
Requirement:I want to create a Test Plan in JMeter. I have two APIs, so first I want to hit the first API, and based on the response from the first API, I want to pass some of its response data to the second API call. In both API calls, I need to upload a file.
Implementation:I have created a test plan in JMeter where I added a thread group. Then, for the first API HTTP Request, I added all the required parameters in the parameter section and provided the file path in the file upload section. I set the parameter name to "file" and the file type to "application/pdf". Next, I added a JSON Extractor to extract the necessary variables from the first API response to use in the second API call.
For the second HTTP request, I followed the same steps as for the first API HTTP request. However, in the parameter section, I passed the variable extracted in the JSON Extractor from the first API response.
Response:From the first API, I am getting the following response:
Please help me solve this issue.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "JMeter Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ptgram24+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ptgram24/1a191277-6b0e-4f92-baf6-96adc63ee34bn%40googlegroups.com.