how to extract value from request in Jmeter

前端 未结 4 876
梦谈多话
梦谈多话 2021-01-19 11:14

Hi I am passing an email which is a time function like below

email = ${__time(MMddyy)}_${__time(HMS)}@yopmail.com

The value of this functi

4条回答
  •  耶瑟儿~
    2021-01-19 11:47

    Is it HTTP Sampler? If so, just put into beanshell postprocessor:

    String prevQuery = prev.getQueryString(); //your request text
    System.out.println(prevQuery );
    

    Also works for any samplers:

    String prevQuery  = prev.getSamplerData();
    

提交回复
热议问题