So there is no equivalent in any language supported by JMeter's JSR223 Test Elements
The options are in:
- Use WebDriver Sampler for getting the session IDs you're looking for, they can be passed later on to "normal" HTTP Request samplers (but this way each JMeter virtual user will kick off a real browser instance)
- Extract the code responsible for request encryption and session ID generation using browser developer tools and convert it to something JMeter could execute (remove the browser context), preferably in Groovy as it's the most performing scripting option
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…