using jmeter variables into sampler
Issue #42
closed
hi, great project I have a little problem and hope you could help me. I have the main app from where I can get user's token and ws server where using this token I can open connection for this user. So my question is: can I use regular expression extractor to get token and put into path as ${token}?
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
Sure you can! See "Basic request-response sample with properties.jmx" sample in samples dir ( https://bitbucket.org/pjtr/jmeter-websocket-samplers/src/2113795ec64bc2b48352fbe145c7fbb40685d661/samples/?at=master) for similar replacements for e.g. host and port.
Hth Peter