I'm still working with my 5.7.0 test build, and still working on the same job checking on the status of our remote web server.  I've just added a new task that checks how long it took, and sending an e-mail if it was over 3 seconds.
That task seems to work (I get the e-mail), but then I get a failure e-mail, which should have been from the task before it, indicating the web page retrieved is not the correct one.
Here's the sequence:
1.  Send post request
2.  Check if the previous task had an error or returned the wrong page, in which case send failure e-mail
3.  Check if the post task succeeded (no error) and took longer than 3 seconds, in which case send a slow-response e-mail.
**************************************************************
The actual text of the slow response e-mail looks correct:
Subject: 
Slow calculation and response from MSScalculatorBody:
The response from the webcalculator was unacceptably slow (> 3 seconds).
The actual time to complete the post task was: 27.895The actual text of the failure e-mail looks wrong:
Subject: 
Failure of MSScalculator post and calculationBody:
"[Error in SetVariables, string: The response to the attempted Web Calculator post did not include "NOT FOR PLACEMENT IN PATIENT CHART".
Actual server response (stdout):
{TASK(4601e4fb-e311-4c72-86c3-a026348ae483,StdOut)}
Actual server response (stderr):
{TASK(4601e4fb-e311-4c72-86c3-a026348ae483,StdErr)}, err: Array cannot be null.
Parameter name: bytes]**************************************************************
When I look at my jobs display, I see all three tasks and the job as a whole show success.
When I look at the output of the post task, nothing shows up on the main display.  If I double-click to bring up the window, I see the first part of my web page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <link rel="stylesheet" href="style/style.css" type="text/css" media="screen,projection" />
        <title>Quest Diagnostics First Trimester Screen Instant Risk Calculator Prototype</title>
        <!--
        <script type="text/Javascript"
            src="js/browser.js">
        </script>
        -->
        <script type="text/Javascript" 
            src="js/hcp_navigation.js">
        </script>
        <script type="text/Javascript" 
            src="js/stylesheet_selection.js">
        </script>
        <script type="text/Javascript" 
            src="js/leaving_site.js">
        </script>
    </head>
    
    <body vLink="#003366" aLink="#cccccc" link="#003366" bgColor="#ffffff" 
        leftMargin="0" background="js/hcp_bg_main.jpg" 
        topMargin="0" marginwidth="0" marginheight="0">
        <!--- top navigation ---->
        <script> global("http://www.questdiagnostics.com");</script>
        <script> navHome("http://www.questdiagnostics.com");</script>
        <!--- main content - table width is taken from the functions in js/hcp_navigation.js -->
        <font face="arial">
        <table cellspacing="0" cellpadding="0" border="0" width="750">
            <tr>
                <td width="50">          </td>
                <td width="700">
                
<!-- header and footer saved from url=http://www.questdiagnostics.com/hcp/egfr.html -->
<noscript>
    <p>You must have Javascript enabled to use this calculator.</p>
    <p>
        The Javascript performs important input data validation
When I click on "Get full output" so I can search manually for the string I'm looking for, I get nothing appearing in the window.
If I click on the HTML tab, still nothing.
If I click on the XML tab, I see
<error>
   Output was not loaded correctly - perhaps you ned to press Get full output
</error>
This job was working before I added the third task.  Any thoughts?
Thanks,
Rebeccah
                      Edited by user
                       
2010-10-30T06:06:14Z
 | 
Reason: Not specified