Hi,
How can i make multiple steps to be executed in a single Thread?
Hi,
How can i make multiple steps to be executed in a single Thread?
All steps execute in the same thread unless you have chosen to start a step in another thread. (Or started with exec.run)
If you describe what you're hoping to do, we might be able to help more.
The problem that I am facing is in the SSH or Telnet session, the fanfare will execute the command in such a fast manner that the response of a particular command will be executed in the same step response as well as the next step response. So you can think it as, the particular step response will contain the previous step response too. Which I don't like to happen. So is there any solution for this?
Dinesh,
This is a classic symptom of a prompt problem. iTest recognizes everything between the execution of one step and the completion of that step as the response. If your completion rules are not correct, iTest may send the second command before the response is complete for the previous command.
To resolve this issue, we'll need to consider how you have the prompts defined for your Telnet/SSH session and how you have the completion rules set for the step.
Can you provide this in this thread? If not, you may want to contact your local AE and have him take a look at your session profile, test case and HTML version of the test report.
Your prompts are incorrect and that is why response from one command is getting mixed with the response of another.
You should have your completion rule set to "Auto and Idle" for all steps in your testcase (in most cases - only very occasionally will you need to use another completion criteria).
You may want to read this article:
http://forums.fanfaresoftware.com/t5/General-iTest-Topics/Info-Prompts/m-p/1422
Hi,
I have read that document..
what does TL1 End of Message means? it is there in the completion criteria of the SSH session
SSH command properties > completion > Completion criteria....
TL-1 is a protocol used in the telecommunications industry. It is a command-line system intended for both people and machines to use and is used extensively on equipment used in the telephone system. Unless you set the style of the ssh/telnet session to TL-1, then the TL-1 EOM completion is not applicable. If you'd like to learn more about TL-1, you can read about it here.
Well thanks for the reply... But I am still in a confusion of what should I do to get the responses in a single step... Can anyone tell me what I can do for it... Along with an example.
As someone commented earlier, the highest probability is that your session profile is misconfigured with respect to "completion criteria" -- which is how iTest decides when one step has ended and it is time to send the next command. From the sound of what you're saying, iTest is sending more commands before the output of an earlier command has completed, and this results in the responses getting concatenated into the output of one of those later commands.
If you post a test report, the test case, and the relevant session profiles, we can probably spot what is happening quite easily. If you don't want to share this information widely, then it would be best to open a support issue and customer support folks can help you with this.
No one has followed this question yet.