java.net.SocketException: Software caused connection abort: recv failed when using ZAP WEB API

455 views
Skip to first unread message

Vincent John Ramos

unread,
Apr 4, 2018, 10:50:15 PM4/4/18
to OWASP ZAP User Group
Hello,

Any idea on how could this be resolved? I'm currently using JMETER to automate some ZAP functionalities on a test framework.

I'm getting the error when I use the contextList API, but before that, I have did create a new context which is working fine.

Step by step scenario:
    - this works fine
    - I get the SocketException here
    - this works fine too

The sequence works fine if done manually on a browser

Simon Bennetts

unread,
Apr 5, 2018, 4:15:13 AM4/5/18
to OWASP ZAP User Group
Are there any errors in the zap.log file?
https://github.com/zaproxy/zaproxy/wiki/FAQhelp#check-the-log-file

Cheers,

Simon

Vincent John Ramos

unread,
Apr 5, 2018, 4:58:38 AM4/5/18
to OWASP ZAP User Group
Hi Simon, 

Please disregard my question. I was able to come up with a solution. Needed to set the implementation of JMETER to Java. Nothing appears to be wrong with ZAP.

Thank you

Simon Bennetts

unread,
Apr 5, 2018, 5:23:35 AM4/5/18
to OWASP ZAP User Group
Thanks for letting us know :)
Reply all
Reply to author
Forward
0 new messages