I've been using JMeter to test the functionality of a site. A particular publishing action generates a different PageSessionId for every user when running the request.
I'm a bit of a novice with JMeter, and it's clear that there needs to be an extractor to help parse in the user-generated sessionid's for these requests. Any ideas on what extractor would be most helpful for this and its likely set-up?
If the response is in HTML format, you could use one of following Post Processors to extract the sessionId.
If the response is in JSON format, you could use of following Post Processors to extract the sessionId.
In this short video on managing the sessions, I have demonstrated use of few post processors. video
You're showing the request and in order to be able to suggest the most suitable option we need to see the response (where this dynamic value is returned)
From high level perspective:
For HTML - CSS Selector Extractor
For XML and XHTML (and in certain cases HTML) - XPath Extractor or XPath2 Extractor
For JSON - JSON Extractor or JSON JMESPath Extractor
For anything else - Regular Expression Extractor or Boundary Extractor
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.