Skip to Content
Author's profile photo Michal Krawczyk

Michal’s PO/PI quick tip: How to test an HTTP destination from PO/PI’s server

There are many threads on PI forum which end up with a deadlock on how to check if PI system can connect to a specific host/port (for example for SOAP adapter) as the connection is working without any issues on the consultant’s computer. If you don’t have access to PI server (which is the thing in most cases) you can deal with that in another way – you can create an HTTP destination on PI system and try pinging it from there. Below you will find some info where to create it and how to use it.

Step 1

In NWA -> Configuration -> Infrastructure -> Destinations create a new destination of type HTTP as shown in the Figure below.

/wp-content/uploads/2013/03/ping_config_193384.png

Step 2

In the URL for the destination put the URL of the respective service which you want to test and click on ping button to test it.

Results:

a) if the connection is successfull you should see the green status of the ping

/wp-content/uploads/2013/03/ping_correct_193385.png

b) if the ping was fine and system was reached but there might be other issues you will get a different error

/wp-content/uploads/2013/03/ping_incorrect_wrong_port_193386.png

c) if the host cannot be resolved something else again

/wp-content/uploads/2013/03/ping_incorrect_wrong_host_194623.png

d) if the firewall is blocking the port then you should be able to see an timeout error

Hope this will save some of you some time which you’d need to contact SAP Basis for checking situations like that.

If you have any other ways of checking the same thing please do let me know in comments to this post.

Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Chitti Prakash
      Chitti Prakash

      Hi Michal,

      Thanks for the blog. It looks really good.

      I have an issue when creating an HTTP destination(in PI 7.40) pointing to a ECC system.

      The HTTP URL(with host/port) and logon details are correct but still when I perform ping operation to test, I get the response as 500.

      Could you please tell me the different reasons for getting this 500 response?

      Thanks,

      Prakash.

      Author's profile photo Former Member
      Former Member

      Hello Prakash ,

      I guess 500 HTTP response is also fine as we get this response whenever you are submitting an empty HTTP request. Connection seems to be working in this case.

      Thanks.

      Author's profile photo Former Member
      Former Member

      Good info as usual from your blog

      Author's profile photo Varsha Alimchandani
      Varsha Alimchandani

      Great info, helped me with an issue, thank you. 🙂

      Author's profile photo Mallikarjuna Rao Malisetti
      Mallikarjuna Rao Malisetti

      How to maintain proxy parameters? As HTTP Destination doesn't have that facility.

      Thanks,

      Mallik