How to encrypt session key in Jmeter

佐手、 提交于 2019-12-11 14:09:38

问题


I have test run in which the server gives the session Id in response. I have to pass the encrypted session Id to subsequent requests. How do I RSA encrypt the extracted session Id?

My server gives the session Id for each login request I send. I am able to extract the session Id in Jmeter whith 'RegEx'. But when I pass the extracted value to subsequent requests the server rejects the requests because it is not RSA encrypted.RSA

Expected Result - Extracting the session Id from the server response, encrypt it & pass to subsequent requests.

Actual Result - Extracting the session Id from server response, passing it to subsequent requests without encryption thus failing the request.

来源:https://stackoverflow.com/questions/56437538/how-to-encrypt-session-key-in-jmeter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!