<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: http text validation check fails in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171069#M935</link>
    <description>&lt;P&gt;That's excellent news. We'll make sure the docs get updated. Thanks for the prompt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Aug 2021 12:45:40 GMT</pubDate>
    <dc:creator>HannahM</dc:creator>
    <dc:date>2021-08-23T12:45:40Z</dc:date>
    <item>
      <title>http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/170924#M928</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have private location site and an http check running on it with no problems.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once we added a validation text&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1629301528725.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1959i2CD527E096CB1731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1629301528725.png" alt="Yosi_Neuman_1-1629301528725.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as can be seen from postman running on the same machine&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1629301430010.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1958i6BF60E35C1A8E77B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1629301430010.png" alt="Yosi_Neuman_0-1629301430010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;test is falling on this&amp;nbsp; validation.&lt;/P&gt;
&lt;P&gt;This script is running with credentials so when looking on successful test&amp;nbsp; response body is missing&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_2-1629301652558.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1960i9487389FCAE8CAE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_2-1629301652558.png" alt="Yosi_Neuman_2-1629301652558.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can it be that the response body is empty for validation text?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have tried to print in the post exestuation step the response body&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_3-1629301851347.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1962iCF3DA4DA4B8E6F53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_3-1629301851347.png" alt="Yosi_Neuman_3-1629301851347.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but we didn't find it in any of the logs on this AG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion will be more than appreciated here&lt;/P&gt;
&lt;P&gt;Thanks in advance and stay safe&lt;/P&gt;
&lt;P&gt;Yos&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 14:17:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/170924#M928</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2021-09-07T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/170936#M929</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The response validation does search for the text within the response body - so if the response body isn't returning anything then that would be why. Are you able to double check that the HTTP Request is correct and should return a response body?&lt;/P&gt;&lt;P&gt;More information can be found here:&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/http-monitors-config#anchor-http-additional-options" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/http-monitors-config#anchor-http-additional-options&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ryan_ott_0-1629309325249.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1965i43EF0FBDF3D11F63/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ryan_ott_0-1629309325249.png" alt="ryan_ott_0-1629309325249.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 18:40:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/170936#M929</guid>
      <dc:creator>ryan_ott</dc:creator>
      <dc:date>2021-08-18T18:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/170938#M930</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/7888"&gt;@ryan_ott&lt;/a&gt;&amp;nbsp;,thanks for your reply!&lt;/P&gt;&lt;P&gt;Yep we already check documentation regarding http text validation and know that it checking the response body, that's the reason we have opened this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From postman its look like the response body do present.&lt;/P&gt;&lt;P&gt;From dynatrace UI the response body shows as "" because this http check runs with credentials.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1629310446571.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1966i30E31DE14ECE030B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1629310446571.png" alt="Yosi_Neuman_0-1629310446571.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So question here if that is an issue with the credential or some other issue.&lt;/P&gt;&lt;P&gt;Unfurtantlly we cannot run this check without credentials.&lt;/P&gt;&lt;P&gt;We have tried to print the value of the body in post exaction phase we didn't find it in any log.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yos&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 18:18:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/170938#M930</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2021-08-18T18:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171010#M932</link>
      <description>&lt;P&gt;Hi Yos,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested using credentials in an HTTP Monitor and then using text validation on the response and was able to confirm that this does work in a simple example. I also piped the the responseBody to the vuc-http-custom.log using&amp;nbsp; api.info in the post-execution script like this:&lt;/P&gt;&lt;P&gt;var responseBod = response.getResponseBody();&lt;/P&gt;&lt;P&gt;api.info("responseBody: " + responseBod);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes, Hannah&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:35:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171010#M932</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2021-08-20T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171050#M933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/1433"&gt;@HannahM&lt;/a&gt;&amp;nbsp;Thanks for your tests and update&lt;/P&gt;&lt;P&gt;I also&amp;nbsp;was able to succeed and use the text validation with credentials vault in test env.&lt;/P&gt;&lt;P&gt;Will give it another try with in customer env next week, and will update.&lt;/P&gt;&lt;P&gt;Thanks for pointing where to look for the output of&amp;nbsp;&lt;SPAN&gt;api.info - it will be good to add this information to documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All the best and stay safe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yos&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 07:20:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171050#M933</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2021-08-21T07:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171068#M934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/1433"&gt;@HannahM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that I found in&amp;nbsp;&lt;STRONG&gt;vuc-http-custom.log&amp;nbsp;&lt;/STRONG&gt;the&amp;nbsp;&lt;SPAN&gt;api.info() messages I was able to discovered&amp;nbsp;why the validation was failing in the first place.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yos&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 12:44:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171068#M934</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2021-08-23T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: http text validation check fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171069#M935</link>
      <description>&lt;P&gt;That's excellent news. We'll make sure the docs get updated. Thanks for the prompt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 12:45:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/http-text-validation-check-fails/m-p/171069#M935</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2021-08-23T12:45:40Z</dc:date>
    </item>
  </channel>
</rss>

