ASM JMeter script is failing with a “Connection Reset” java socket exception.

book

Article ID: 143388

calendar_today

Updated On:

Products

CA App Synthetic Monitor NIMSOFT CLOUD USER EXPERIENCE MONITOR DX Application Performance Management

Issue/Introduction

 

We are experiencing a problem where our ASM JMeter script fails with a “Connection Reset” java socket exception.  This started after making changes. Due to security issues, we added a WAF in front of the online.foo.com site.  We are using a service from F5 called Silverline.  We have whitelisted every ASM station with Silverline and we expect the scripts to still execute normally, but they are not. 

Cause

Per Engineering,  the WAF is doing its job - blocking requests from automated agents like JMeter, to prevent a distributed denial-of-service (DDoS) attack. 

Environment

Release : 10.1

Component : CA APP SYNTHETIC MONITOR (WATCHMOUSE)

Resolution

The solution is to use Webdriver monitor instead of Script, because it's indistinguishable from the regular browser.