Hi i have a relatively simple task - i need to check port avaialability to certain URL. I have VBscript that is using port query for that and it works fine. My challenge is how to integrate it into vugen. I have vugen 12 and am not sure which protocol to use and how to adjust it to vugen syntax. My VB script is:
--------------------------------
' Script to check if port is listening
' returns 0 if port is listening
' returns 1 if port is not listening
' returns 2 if port is listening or filtered
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("e:\PortQryUI.exe -n vault.bankleumi.co.il -p tcp -e 443 -q", 1, true)
WScript.Echo Return
If Return = 0 Then
WScript.Echo "Port is Listening"
Else
WScript.Echo "Port is not Listening"
End If
-------------------------------------
Thanks!