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.
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
b) if the ping was fine and system was reached but there might be other issues you will get a different error
c) if the host cannot be resolved something else again
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.
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.
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.
Good info as usual from your blog
Great info, helped me with an issue, thank you. 🙂
How to maintain proxy parameters? As HTTP Destination doesn't have that facility.
Thanks,
Mallik