Skip to main content
deleted 7 characters in body; edited title
Source Link
Pacerier
  • 193
  • 3
  • 18

How to get previous sampler's previous samplerresult x2 in JMeter?

I've a BeanShell Assertion within a HTTP Request sampler:

enter image description here

The previous samplerresult can be obtained using the script ctx.getPreviousSampler()getPreviousResult(), but how can we get the samplerresult before the previous samplerresult?

How to get previous sampler's previous sampler in JMeter?

I've a BeanShell Assertion within a HTTP Request sampler:

enter image description here

The previous sampler can be obtained using the script ctx.getPreviousSampler(), but how can we get the sampler before the previous sampler?

How to get previous result x2 in JMeter?

I've a BeanShell Assertion within a HTTP Request sampler:

enter image description here

The previous result can be obtained using the script ctx.getPreviousResult(), but how can we get the result before the previous result?

Source Link
Pacerier
  • 193
  • 3
  • 18

How to get previous sampler's previous sampler in JMeter?

I've a BeanShell Assertion within a HTTP Request sampler:

enter image description here

The previous sampler can be obtained using the script ctx.getPreviousSampler(), but how can we get the sampler before the previous sampler?