User Defined Value (Date) is changing within Jmeter test plan

試著忘記壹切 提交于 2019-12-11 16:06:53

问题


I have user defined variable for date: Date1 | 31-Jul-2018. Now I am using this variable within my test plan, and on each iteration, I will be decrementing the date too for which I have code in JSR223 processor but that gets executed at the end of first iteration. The issue I am facing is that in the beginning of the test plan, date is being displayed correctly within my SQL query, but then towards the end of the test plan when I need to use the date again, Date value has changed and showing some random value like - '03-Jul-0208'. Just an fyi - we haven't reached the Date decrement code yet when i start getting this random value.

Test plan structure:

I have no idea why this is happening.

来源:https://stackoverflow.com/questions/57171574/user-defined-value-date-is-changing-within-jmeter-test-plan

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