Hello all
I've inherited a project that periodically checks a list of urls read in from a CSV file to make sure they are running. For each url it runs the HTTP Get File action and then searches the content for a set string to make sure it isn't an error page being shown.
For some url's the If...Then action is failing. It runs a If %SearchString% Is Not Substring Of %FileContent% and sends an alert jabber if true. I cant find a more detailed error of why this fails, but it should pass - If I check the two variables manually the search string is present.
Any ideas as to why this action would fail? I've attached two screenshots of my build steps and the If...Then action properties.
Thanks in advance.
James.
Update: Sorry to clarify: When I say fail I mean that the action errors and my build crashes. If a site isn't found then the action returns true as expected.