Go to All Forums

Can a content string contain double quotes?

Hi. I'm setting up a Website Content Monitor, and for my specific case, I need to ensure the following string is present:

"Status":"Good","Checks":

 

I can't simply check only for Good or even for "Status":"Good" because there are multiple places in the page where those appear, and I want it to consider the page down if this particular occurance is not "Good" regardless of other occurances on the page. 

Like (1) Reply
Replies (1)

Hi there,

You can configure a single string content with or without double quotes (ex: HTML).If any double quotes are present, it has to be escaped using \".

For instance, "\"Status\":\"Good\",\"Checks\":"(double quotes will be escaped) in "Should contain string(s)" field under Content Checks.

Regards,
Pavithra

Like (0) Reply

Was this post helpful?