Locked About Extraction Rules

  • Sunday, March 04, 2012 4:53 PM
     
     

    Hi, 

    Just trying to re-post the question asked in the Community Content section under 

    http://msdn.microsoft.com/en-us/library/ms243183.aspx#1

    The original question: 

    If I set the Match Attribute Value with Color:Green, then start the web performance test.

    The value extracted by the rule, color:Blue;                    

    It does not match with my setting, color:Green.

    [However] The result is also passed.

    I think it should be an error.

    Please tell me why. Thanks very much.

    I've duplicated the case and think it is odd to me as well. 

    Can someone explain please? 

    Thanks

All Replies

  • Tuesday, March 06, 2012 6:11 AM
    Moderator
     
     Answered

    Hi smetah,

    Thank you for posting in the MSDN forum.

    We know that Extraction rules help verify that a Web application is working correctly by extracting data from the responses to Web requests.

    Like the following screen shot, the Match Attribute Value is optional. If we don’t set the value, it still runs normally, since we use this
    rule to extract data from the responses to the Context. As my understanding, it isn’t used to compare with the actual value automatically by VS, it just help us to analysis that whether the value is what we want to extract. It doesn't impact the web test result.

    Best Regards,



    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    • Marked As Answer by smetah Tuesday, March 06, 2012 2:02 PM
    •  
  • Tuesday, March 06, 2012 2:02 PM
     
     
    That explains it. Thanks!
  • Wednesday, March 07, 2012 1:58 AM
    Moderator
     
     

    You're welcome!


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us