Validating schema saml response
The dialog will contain map of assertions available for the current type of sampler (see below), pressing OK will add the assertion and open its configuration dialog.
Assertions are divided in several categories for easier managing.
* jquery.0.0.1 - https://github.com/yckart/jquery.* Scroll smooth to any element in your DOM.
* * Copyright (c) 2012 Yannick Albert ( * Licensed under the MIT license (
Lets look at how the Assertion functionality of the Sampler Test Steps are used to validate the incoming response or request received by the Test Step.
Before we dive into the available assertions, lets do a quick overview.
Adding an assertion is straight forward; press the left-most button in the toolbar, which opens a dialog which prompts you to choose which assertion to add.The assertions available for all Test Steps are: The example shown in the screenshot specifies a reqular expression checking for the string "Session ID" in the entire content of the message to be validated, note the "(?s)" construct to specify whitespace handline (supported Reg Ex format).To pull the xml form from the SAML Response I have the following chunk: Csp Parameters csp Params = new Csp Parameters(); csp Params.Key Container Name = "XML_DSIG_RSA_KEY"; // Create a new RSA signing key and save it in the container.
Same goes for enabling/disabling particular Assertion inside the category.