JMeter Script is failing

Document ID : KB000071424
Last Modified Date : 21/02/2018
Show Technical Document Details
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?
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.