Site didn't send any data

book

Article ID: 220850

calendar_today

Updated On:

Products

CA App Synthetic Monitor

Issue/Introduction

 
 

While testing the monitors with integrated validation there is a problem in one of the monitors 
The local script works correctly, but when uploading it to ASM, when it advances in the navigation, an error in the browser shows that it didn't send any data.

This can be seen in the webdriver video 

 

Cause

 
 

The issue can be identified by this sort of error in the webdriver-agent.log

java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in query at index 110: <URI>

The specific error in this case related to this snippet:

     "...tabName=Underwriting%20administration%20|%20Underwriting%20Platform"

According to RFC 2396, which is what java.net.URI uses, the "|" character is illegal and must be encoded to %7C.

But the Chrome browser conforms to the newer RFC 3986 where this character is allowed, and does not encode it.  It also does not encode other illegal characters like {}\^[]` 

The code has been modified to escape these characters.

Environment

Release : 99.0

Component : APP SYNTHETIC MONITOR ENVIRONMENTAL

Resolution

 

A fix has been created, a replacement webdriver-agent file has been provided and the fix will be available in a hotfix

Attachments