Recording a multi part SOAP request
Brian Donahue
Posts: 6,590 Bronze 1
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
>
>
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
>
>
This discussion has been closed.
Comments
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.