ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

JMeter Script is failing

book

Article ID: 71424

calendar_today

Updated On:

Products

CA App Synthetic Monitor NIMSOFT CLOUD USER EXPERIENCE MONITOR

Issue/Introduction



We have a JMeter script that is receiving the same error in the logs " Response Assertion: Test failed: text expected to contain <your text here>"  What could be wrong?

Environment

Release: APMCMB99000-10.0-App Synthetic Monitor-Basic Option
Component:

Resolution

While the URL was correct and could be accessed from a browser, the issue turned out to be a space at the end of one of the URL's which threw off the whole script. Once that was corrected, it worked fine.  JMeter is very sensitive on spaces before and after an URL.