[Webtest] invoke step with identification

Philippe Schoch webtest@lists.canoo.com
Thu, 20 Apr 2006 11:26:16 +0200


This is a cryptographically signed message in MIME format.

--------------ms010809090603010602070605
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I try to use <invoke> with identification at my first step. 
Unfortunately it doesn't work and the response is the 'login.faces' site.

      <target name="ClickLink">
        <webtest name="ClickLink">
            &config;
            <steps>
                <invoke
                    description="get the telcobill.faces page"
                    url="telcobill.faces"
                    username="username"
                    password="password"/>
                <clickLink
                    description="Click link"
                    htmlId="_test:t1" />
            </steps>
        </webtest>
    </target>
</project>

If I use instead
<invoke url="telcobill.faces?sid=username&amp;password=password" />
everything works fine. But that's a bad workaround (but ok for the moment).

Is Html-unit not sending the information in this way?

greets,
Phil

--------------ms010809090603010602070605
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJWTCC
AwcwggJwoAMCAQICEDGh5KvKbKlle3oHEKH/EI0wDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDMwNzA5MDEwN1oX
DTA3MDMwNzA5MDEwN1owZzEPMA0GA1UEBBMGU2Nob2NoMREwDwYDVQQqEwhQaGlsaXBwZTEY
MBYGA1UEAxMPUGhpbGlwcGUgU2Nob2NoMScwJQYJKoZIhvcNAQkBFhhwaGlsaXBwZS5zY2hv
Y2hAZXJnb24uY2gwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkGIxu9RmE95KX
kuSmS+EJjt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