如何按需清除Jmeter中每个线程(用户)的JSESSIONID [英] how to clear JSESSIONID of each Thread(user) in Jmeter on demand

查看:331
本文介绍了如何按需清除Jmeter中每个线程(用户)的JSESSIONID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想随时(根据需要)清除Jmeter JsessionID变量.

I want to clear Jmeter JsessionID variable at any time (on my demand).

我知道Jmeter CookieManager中有一个复选框选项,名为"在每个迭代中清除Cookie ".
但是它会清除每次迭代中的会话,而我想在迭代中的任何时间清除它.

I know there is a check box option in Jmeter CookieManager named "Clear Cookie on each Iteration".
But it clears the session on each iteration while I want to clear it at any time in the iteration.

我如何在Jmeter中做到这一点?

How can i do that in Jmeter?

推荐答案

当前,您不能简单地做到这一点,特别是如果您想清除一个特定的cookie.

Currently you cannot simply , particularly if you want to clear one particular cookie.

您应该向JMeter Bugzilla提出增强要求,以精确地确定您想要做什么.

You should raise an enhancement request at JMeter Bugzilla giving precision on what you want to do.

我认为自定义功能将是一个不错的功能,请参阅:

I think a custom function would be a nice feature, see:

这篇关于如何按需清除Jmeter中每个线程(用户)的JSESSIONID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆