jmeterhttpwebresponsedynamic-values

JMeter Scripting: Not getting the dynamic value from response code


I am experienced in HP Loadrunner but new in Jmeter. I recently recorded a script in Jmeter 3.0 where one of the step is to upload a .pdf file. it is a 2 step process:

Step 1> on the upload window click Browse to locate the pdf file from local drive. Once this is done the server puts the file in a temporary directory in the backend and creates a metadata (dynamic value) for it

FYI: I placed the PDF file in the local folder: "Documents\apache-jmeter-3.0\bin\"

Step 2> Once the local file path has been specified (above step) and the button "Upload File" is clicked the file actually gets uploaded to the server and it gets stored permanently.

At this step I need to provide that dynamic value (metadata) to successfully submit the request.

The problem I am having is Jmeter is not returning the metadata (or dynamic value) on the Step-1 of the upload process-

Screenshot: Request/Response details from Jmeter (Step-1)

I recorded the same steps in Vugen 12.53 and it is returning the dynamic value fine for the Step-1-

Screenshot: Request/Response details from Vugen (Step-1)

Can anyone please help? Thanks!


Solution

  • SOLUTION:

    Simply selecting "Implementation" to either "Java" or "HttpClient3.1" solved the problem.

    *Points to be noted: