Professional Documents
Culture Documents
com/automation/silk-performer/recursive-link-checker-o
r-web-crawler
http://kb.microfocus.com/display/4/kb/article.aspx?aid=19393&n=1&docid=8705819&t
ab=search
http://kb.microfocus.com/display/4/kb/article.aspx?aid=19787&n=1&docid=8706236&t
ab=search
===========================================================
http://kb.microfocus.com/display/4/kb/article.aspx?aid=17666&n=1&docid=8704004&t
ab=search
Why when I use the Halt statement in my script does the "End" transaction still
get called?
Resolution:
ANSWER
----------------------------------
This is a known issue and is planned to be fixed in a future release. It only ha
ppens when you have specified the "Call end transaction for stopped virtual user
s" option in the active profile. As a workaround call the SetCallEndTransaction
function prior to the Halt statement in the script. For example:
SetCallEndTransaction(false);
halt;
===========================================================
Is it possible to exit a Function but continue executing the Transaction?
Problem:
Is it possible to exit a Function but continue executing the Transaction?
Resolution:
There is no SilkPerformer function that can be used to exit / stop a function in
the middle of it"s execution and continue executing the transaction. The closes
t is the THROW function, however this is only allowed in event handler functions
.
Some of SilkPerformer"s control statements include:
HALT: Terminates the simulation of a virtual user.
RETURN: Terminate the execution of the transaction
EXIT: Terminates the loop (while, for, or loop) in which it is directly nested.
THROW: Terminates the execution of an event handler function by passing executio
n control to the runtime system. The runtime system continues with the default p
rocedure for the event.
The throw keyword is only allowed in event handler functions. If the throw seman
tics is not applicable in a handler when called as a function, it finishes handl
er code execution.
========================
Why is the transaction count defined in BDL script not effective during the load
test?
Resolution:
QUESTION
----------------------------------
When running a load test, you may notice that the transaction number of times th
e transaction was repeated was not as defined in the BDL script:
Script:
..
dcluser
user
VUser
transactions
TInit : begin;
TMain1 : 2; //TMain1 is defined to be repeated 2 times
TAgain : 1;
..
http://kb.microfocus.com/searchResultpage.aspx?stext=stop+transaction&st=1&kb=&c
at=&subcat=&att=&remotesite=