« Previous Next »

Thread: Using WCAT with Parameterized POST data

Last post 07-07-2009 12:43 PM by wcat12. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 07-06-2009, 4:39 PM

    • wcat12
    • Not Ranked
    • Joined on 07-06-2009, 4:29 PM
    • Posts 2

    Using WCAT with Parameterized POST data

     Hi,

    Is it possible to parameterize the POST data using WCAT ?

    Need to load test with hundreds of users, each with a unique token sent in POST data (in XML format).

    How do we set up the test using WCAT?

  • 07-06-2009, 9:59 PM In reply to

    • WWWWeb
    • Top 100 Contributor
    • Joined on 04-30-2009, 9:42 AM
    • Posts 52

    Re: Using WCAT with Parameterized POST data

  • 07-07-2009, 12:43 PM In reply to

    • wcat12
    • Not Ranked
    • Joined on 07-06-2009, 4:29 PM
    • Posts 2

    Re: Using WCAT with Parameterized POST data

    The link provided shows example of hard-coded POST data, not parameterized:

       RequestData = "Field1=Value1&Field2=Value2&Field3=Value3\r\n"

     But, I need to parameterize the value to be unique for each user. And with hundreds of users.

    What I need to send the POST data in XML format like this, where token should be unique for each user:

    <?xml version="1.0" encoding="UTF-8"?>
    <user>
    <token>Bz2CoBncMTKKT/M/Z+RXpxT4kLr3sZP5Q951SFjwiNOu5</token>
    <machineName>m/c2</machineName>
    <platform>XP</platform>
    <language>en</language> </user>

     

Page 1 of 1 (3 items)
Microsoft Communities