search cancel

url_response - pu.exe command to test url fails or abends or throws a communication error


Article ID: 220840


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM) Unified Infrastructure Management for Mainframe CA Unified Infrastructure Management SaaS (Nimsoft / UIM)


I am trying to test a url via the pu.exe tool.  However, when I execute the test_url, the pu.exe abends. Is there something wrong with my syntax or am I missing some required parameters?

   C:\Program Files\Nimsoft\bin>pu -u user -p passwd /domain/hub/robot/url_response test_url

I am able to successfully execute the following so I know the base functionality is okay:

   C:\Program Files\Nimsoft\bin>pu -u user -p passwd /domain/hub/robot/url_response get_info


- url_response probe defect when using pu command

- pu command configuration


Release : 9.2.0

Component : UIM - URL_RESPONSE

- url_response v4.46 and 4.47

- url_response v4.47_T2 provided


Fixed in url_response 4.47_T2

Use a command like this to test the url, for example:

pu -d 5 -u administrator -p xxxxxxxxxx /lvxxxxxxxxxx3_domain/lvxxxxxxxxxx3_hub/lvxxxxxxxxxx3/url_response 
test_url NULL NULL 0 NULL NULL 0 0 NULL 0 10 0 NULL NULL 0 NULL 0 0 0 0

You can use any one of the following formats for the url:

When the command completes you should see a message displayed, and no communication errors.

status          PDS_I             2 0
description     PDS_PCH          36 The request completed successfully.
bytes           PDS_I             6 13875
milliseconds    PDS_I             4 140
buffer          PDS_PCH       12964 <!doctype html><html itemscope="" itemtype="" lang="en"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noo~"

If you are running the command on a local hub/robot but want the command to execute on a remote robot, make sure you use the correct NimBUS address for the robot in the pu command, and that the given probe is already deployed and up and running on that system as well.

Change directory to where the pu.exe utility is located, e.g., C:\Program Files (x86)\Nimsoft\bin
Run the pu command:
pu -d 5 -u administrator -p xxxxxxxx /lvxxxxxxxxxx3_domain/lvxxxxxxxxxx3_hub/<remote_robot_hostname>/url_response
test_url NULL NULL 0 NULL NULL 0 0 NULL 0 10 0 NULL NULL 0 NULL 0 0 0 0

Troubleshooting Tips
- Make sure that the same version of the url_response probe is deployed and up and running on the remote robot
- Test the command locally first to make sure the request completes successfully
- Then test the pu command using the NimBUS address which contains the remote robot's NimBUS address
- Test again to ensure that the request completes successfully
- If you get this error below, recheck your NimBUS address to make sure youre referencing the correct address and robot->
  pu: nimNamedSession: failed lookup /<domain>/<hub>/<robot>/url_response (4)
  _command failed: communication error
- Make sure that there is no network routing issues between the source machine where you are issuing the pu command and the robot/target system (NimBUS address)

Additional Information

url_response probe package attached.

   name = url_response
   description = Monitor URL response time
   copyright = Copyright (c) 1998-2014, CA. All rights reserved.
   group = Application
   author = Nimsoft Development
   date = 27.07.2021
   version = 4.47_T2
   build = 48
   license_required = yes

Attachments get_app