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:
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
This job was working before I added the third task. Any thoughts?
Thanks,
Rebeccah
Edited by user
14 years ago
|
Reason: Not specified