Options

Recording a multi part SOAP request

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
edited October 4, 2005 8:00AM in ANTS Load
Hi James,

If what the server is doing to the SOAP request is 'chunking' it into
smaller bits rather than streaming the entire request, then the answer is
no. ANTS Load reads the entire stream from start to finish. Once the
connection is broken, ANTS Load considers that the whole request/response.
In other words, the ANTS Load WebClient does not yet have the ability to
re-assemble data from a server configured to do HTTP chunked transfers.

Yours,

Brian Donahue
Red Gate Technical Support

"James" <jamesleask@hotmail.com> wrote in message
news:sYQ%23UnG1DHA.1468@server53...
> Hello,
>
> I am evalulating ANTS Load with a view to using it to test an application
> that uses both traditional web requests and .NET web services.
>
> The web requests seem to go through and are recorded correctly. However
only
> the first part of the the SOAP request seems to get recorded / passed on
to
> the server. The content of the request is then recorded as Nothing in the
> resulting script.
>
> Is it possible to capture multi part posts using ANTS Load?
>
> Thanks and regards,
>
>
> James
>
>

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Version 1.6 of ANTS Load does support multipart/form-data posts in addition to x-www-urlencoded. When performing an action such as uploading a file, though, there are some scalability issues.

    When you use a multipart form to upload a file, it is transmitted as an array of bytes. These bytes need to be converted to the VB language when constructing the ANTS Load script (example: CHR(32)+CHR(20)+...) and this causes to script to grow beyond it's maximum allowable size for some larger files.

    If you would like to simulate file uploads 'on-the-fly', we have an assembly that you can add-in to ANTS Load that will read files from disk and add them to a multipart request in the test script.

    Please contact support@red-gate.com if you would like a copy of this assembly.

    If you want to test webservices, we do not advise using the script recorder, as it's meant for web applications only. To test a webservice, first add a web reference and then edit the script. Uncomment all of the web methods that you want to run and start the test.
This discussion has been closed.