如何从响应中提取会话ID?
{"game_url":"https://nogs-gl-stage.nyxmalta.com/game/?nogsgameid=110004&nogsoperatorid=421&sessionid=2007_a87178f4-a398-46f9-b156-a05da5040a37&nogscurrency=EUR&nogslang=en_us&nogsmode=real&accountid=7116&clienttype=html5&lobbyurl=https%3A%2F%2F%2Flobby%2Ffeatured-games",
"non_regulated_game":"NON_REGULATED_GAME_MESSAGE"}
答案 0 :(得分:2)
示例配置为:
按如下方式配置:
sessionid
sessionid=(.+?)&
$1$
${sessionid}
或${__V(sessionid)}
您还可以使用View Results Tree侦听器的“RegEx Tester”视图来测试正则表达式,而无需重新运行请求:
参考文献: