Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Frequent Contributor.. mlaurentz Frequent Contributor..
Frequent Contributor..
358 views

How to capture output from command line for error handling

Jump to solution

Hi all,

I would like to ask regarding Silk Performer Workbench.

Im using Silk Performer to run command line to do a ping.

My queries is:

- How do we create error handling from command line output?

For example: from 4 packets sent, lost 1 packet (25% loss). If there is lost, then i would like to generate error message

Do i need to use string comparison (compare if packets lost: 1 == failed)

Does anyone have any idea or advice on this ?

Many thanks for your response

 

Mario

0 Likes
1 Solution

Accepted Solutions
Highlighted
AndySchott Absent Member.
Absent Member.

RE: How to capture output from command line for error handling

Jump to solution

Mario,

You should probably ask this at the Silk Performer forum.

Andy

0 Likes
1 Reply
Highlighted
AndySchott Absent Member.
Absent Member.

RE: How to capture output from command line for error handling

Jump to solution

Mario,

You should probably ask this at the Silk Performer forum.

Andy

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.