SXI Forum

A place to collect usefull tips, tricks and implementation strategies.

You are not logged in.

#1 22-11-2018 07:31:34

SeanR
Administrator
Registered: 20-11-2018
Posts: 148

Getting Fiddler to capture SoapUI packets

Fiddler is a free web debugging proxy.  What that means is that if you are trying to consume a web service you can see what the details of the packet that you are sending looks like.

We can test sending data to webservices with a tool like SoapUI.  SoapUI can be used to test REST and SOAP transactions to a web service.  If we can successfully consume a webservice using SoapUI we should be able to see what the packet must look like (using Fiddler) and we can compare that to what we are sending from XLayer.  This is obviously only if we are experiencing issues.

As Fiddler is a proxy we need to configure SoapUI to send through this proxy.  To do this, in SoapUI go to
File -> Preferences -> Proxy Settings.  In the dialog on the right change the following:
"ProxySetting:" to Manual
Host 127.0.0.1
Port 8888

After that start Fiddler and (pressing F12) start capturing packets.  Then run your test from SoapUI and you should see the packets appearing in Fiddler.

The information was found here

Offline

#2 22-11-2018 08:34:42

SeanR
Administrator
Registered: 20-11-2018
Posts: 148

Re: Getting Fiddler to capture SoapUI packets

You can configure Oxygen to do the same by setting up a proxy in the same way.

Go to:
Options -> Preferences -> HTTP(S)/(S)FTP/Proxy Configuration

under Web Proxy (HTTP/HTTPS)
Address = 127.0.0.1
Port    = 8888

This will allow you to capture Oxygen packets in Fiddler.

Offline

#3 22-11-2018 08:35:06

SeanR
Administrator
Registered: 20-11-2018
Posts: 148

Re: Getting Fiddler to capture SoapUI packets

You can get Fiddler to capture packets from X-ServiceBroker as well.

In SXI/X-ServiceBroker/bin you will find a file X-ServiceBroker.vmoptions

add the following lines to the bottom of the file

-DproxySet=true
-Dhttp.proxyHost=127.0.0.1
-Dhttp.proxyPort=8888

save it and restart X-ServiceBroker.

Offline

#4 20-05-2019 14:56:31

KevinM
Moderator
Registered: 21-11-2018
Posts: 13

Re: Getting Fiddler to capture SoapUI packets

Note: If you need to use Fiddler to capture packets from X-ServiceBroker when consuming a Web Service that uses SSL, you need to set the HTTPS VM options for X-ServiceBroker as follows:

In SXI/X-ServiceBroker/bin you will find a file X-ServiceBroker.vmoptions

add the following lines to the bottom of the file

-DproxySet=true
-Dhttps.proxyHost=127.0.0.1
-Dhttps.proxyPort=8888

save it and restart X-ServiceBroker.

Offline

Board footer

Powered by FluxBB