Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

TruClient script fails with step is not defined error in performance center 12.01

$
0
0

Hi all,

 

My FF TruClient script is working fine in both Load mode and Browse mode in VUGen 12.01. But when running the script in Performance Center 12.01 the scripts appears to wait forever on a object which is not found. Even when the step is set optional the same problem occurs. See below log snippet. Does anyone know how this can be resolved?

 

t=00025321ms: Error -205177: ReferenceError: step is not defined
undefined
While calling handlers in RuleEngine dispatch, event=[Event type="step/ready-state-updated" target="6.3: Wait for Sorry, deze pagina bestaat... heading"], handler=
addOnetimeEventListener: type=step/ready-state-updated, function=function (e) {
"use strict";

var retVal = true;
var step = e.target;
if (step.readyState._aborted) {
retVal = false;
delete step.readyState._aborted;
}
else if (step.readyState.isReady) {
if (step.type == "handler" && !step.preemptive) // Do not allow other handlers to interfere?
disableHandlers = true;

// Note - when calling the state setter the step is pushed into the Step.STATE_* array
step.state = Step.STATE_RUNNING;
step.run.callAsync(step);
} else {
var timeout = RTS("step/readyTimeout", step);
if (timeout === undefined || (new Date()).getTime() - step.startTime <= timeout * 1000) {
retVal = false;
}
else {
// Note - when calling the state setter the step is pushed into the Step.STATE_* array
step.state = Step.STATE_RUNNING;

if (Script.state == Step.STATE_STOPPING)
step.end(Step.RETCODE_ABORTED_SUCCEEDED, {
extRetInfo : Step.EXT_RET_INFO_STOPPING
});
else
step.onReadyTimeout();
}
}
Event.dispatch("step/processed", step, { retVal : retVal});
} Snapshot Info [MSH 1 0] [MsgId: MERR-205177] [MsgId: MERR-205177]

 

Kind regards,

René Meijboom


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>