I am trying to route my soapUI web service requests via fiddler, but it doesn't seems to work. I tried url's like
http://localhost./myservice/myservice.asmx http://localhost:8888/myservice/myservice.asmx
The later one though goes via fiddler, but it returns the request itself rather than the response from webservice. Any help?
Try File > Preferences > Proxy Settings Host 127.0.0.1 Port 8888
and use http://localhost/myservice/myservice.asmx
Here is a post that explain this a little bit more
To decrypt HTTPS traffic generated by SoapUI, you may need to import Fiddler certificate into the Java truststore file, cacerts. For SoapUI this file is typically located in "C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\jre\lib\security\" (or whatever version and path you installed it at).
In Fiddler, export the root certificate to your desktop: Tools > Fiddler Options... > HTTPS > Export Root Certificate to Desktop.
Run cmd
as administrator.
cd
to the security folder of SoapUI's JRE, e.g.:
cd "C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\jre\lib\security\"
Back up the cacerts file:
xcopy cacerts cacerts.bak
Import Fiddler certificate:
..\..\bin\keytool.exe -import -alias fiddler -file "C:\Users\<username>\Desktop\FiddlerRoot.cer" -keystore cacerts -storepass changeit
Here "changeit" is the password to the cacerts store.
When prompted to trust the certificate, enter yes
.
Restart SoapUI.
Configure SoapUI to use Fiddler as proxy: go to File > Preferences > Proxy Settings and specify:
Remember to restore the original proxy settings when Fiddler is not running.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With