SoapUI with Fiddler

前端 未结 5 1961
慢半拍i
慢半拍i 2020-12-28 14:30

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.asm         


        
5条回答
  •  失恋的感觉
    2020-12-28 14:53

    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).

    1. In Fiddler, export the root certificate to your desktop: Tools > Fiddler Options... > HTTPS > Export Root Certificate to Desktop.

    2. Run cmd as administrator.

    3. cd to the security folder of SoapUI's JRE, e.g.:

      cd "C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\jre\lib\security\"
      
    4. Back up the cacerts file:

       xcopy cacerts cacerts.bak
      
    5. Import Fiddler certificate:

       ..\..\bin\keytool.exe -import -alias fiddler -file "C:\Users\\Desktop\FiddlerRoot.cer" -keystore cacerts -storepass changeit    
      

      Here "changeit" is the password to the cacerts store.

    6. When prompted to trust the certificate, enter yes.

    7. Restart SoapUI.

    1. Configure SoapUI to use Fiddler as proxy: go to File > Preferences > Proxy Settings and specify:

      • Proxy Setting: Manual
      • Host: localhost
      • Port: 8888 (or whatever port your Fiddler uses)

    Remember to restore the original proxy settings when Fiddler is not running.

提交回复
热议问题