dina
dina

Reputation: 1072

Taking over a session from LoadRunner

I have a hunch that it may not be possible but what does it take for me to ask? Hey, "the fool didn't know it was impossible, so he did it."

This question is env/tool/version agnostic. I target any industry standard tools for performance testing like HP LR, Apache JMeter, SilkPerformer etc.

The scenario:

  1. A Web(HTML/HTTP) script is being executed in LR Vugen.
  2. As the script execution progresses, the vuser follows the scripted steps/journey. Each action function calls the SUT hosts/services for responses while maintaining local sessions, managing cookies and remembering headers, emulating browser caches so on.

Now, we can pause the execution any time in the tool and that will stop the vuser action. Question is, can we resume the session somewhere else or in the tool to manually interact with the web page or response while maintaining the same session?

This will help users reproduce a case with plenty of steps which can be executed by the tool and the user can take over at a certain point to carry with a different path.

Upvotes: 0

Views: 711

Answers (1)

Koby Douek
Koby Douek

Reputation: 16675

The only way to accomplish interaction with the session is using Looadrunner's TrucClient protocol. This protocol actually uses a real browser (Firefox or IE emulator) for every VUser being executed. With some runtime setting options, The browser can be visible while replaying the load scenario.

Of course, TruClient protocol is only used for testing web sites.

Hope this helps.

Upvotes: 1

Related Questions