Martin thanks for your reply.
But I am getting "Unauthorized" error when executing the test script. Could
anyone please point out the problem:
The same commands run fine when executed via the commandline tool
(user=root).
I issued the following command:
install_dir> tprocessor -testcase
\testsuite\junit\xmltestcases\functional\copy\code\copy201.xml -davuser root
-davpassword root
And I get the following Test output:
<testCase>
<fileName>D:\jakarta-slide-2.0b1-src\testsuite\bin\..\testsuite\junit\xmltes
tc
ases\functional\copy\code\copy201.xml</fileName>
<exceuteStep>
<method>PUT</method>
<url>/slide/files/help-doc.html</url>
<responseError>
<receivedValue>Unauthorized 401</receivedValue>
<expectedValue>Created [201]</expectedValue>
</responseError>
<result>ERROR</result>
<time>250</time>
</exceuteStep>
<exceuteStep>
<method>MKCOL</method>
<url>/slide/files/test</url>
<responseError>
<receivedValue>Unauthorized 401</receivedValue>
<expectedValue>Created [201]</expectedValue>
</responseError>
<result>ERROR</result>
<time>93</time>
</exceuteStep>
<exceuteStep>
<method>COPY</method>
<url>/slide/files/help-doc.html</url>
<responseError>
<receivedValue>Unauthorized 401</receivedValue>
<expectedValue>Created [201]</expectedValue>
</responseError>
<result>ERROR</result>
<time>109</time>
</exceuteStep>
<exceuteStep>
<method>DELETE</method>
<url>/slide/files/test</url>
<responseError>
<receivedValue>Unauthorized 401</receivedValue>
<expectedValue>No Content [204]</expectedValue>
</responseError>
<result>ERROR</result>
<time>94</time>
</exceuteStep>
<exceuteStep>
<method>DELETE</method>
<url>/slide/files/help-doc.html</url>
<responseError>
<receivedValue>Unauthorized 401</receivedValue>
<expectedValue>No Content [204]</expectedValue>
</responseError>
<result>ERROR</result>
<time>94</time>
</exceuteStep>
<result>ERROR</result>
<time>938</time>
<testElementCount>5</testElementCount>
<testElementErrors>5</testElementErrors>
</testCase>
Server Side Log:
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "PUT /slide/files/help-doc.html
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "PUT /slide/files/help-doc.html
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "MKCOL /slide/files/test HTTP/1.1"
401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "MKCOL /slide/files/test HTTP/1.1"
401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "COPY /slide/files/help-doc.html
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "COPY /slide/files/help-doc.html
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "DELETE /slide/files/test
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "DELETE /slide/files/test
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "DELETE /slide/files/help-doc.html
HTTP/1.1" 401 728
127.0.0.1 - - [02/Apr/2004:18:42:30 5050] "DELETE /slide/files/help-doc.html
HTTP/1.1" 401 728
Looks like TProcessor is not setting the username and password correctly.
However I am explicitly passing the parameters davuser and davpassword.
Any idea what cold be going wrong?
Regards,
Ritu
(p.s. just wanted to avoid debugging if anyone could point out my obvious
error...thanks)
> -----Original Message-----
> From: Martin Holz [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 02, 2004 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Performance TestScripts
>
>
> Ritu Kedia <[EMAIL PROTECTED]> writes:
>
> > Are there any performance parameters available for Slide, in a
> > {DesktopClient --> J2EE Server/ Plain Servlet Container}
> environment?
> >
> > Are there any load test scripts available using Slide's Client LIB?
>
> In the slide CVS repository is a complete testsuite. While it focuses
> on functional tests, there are also performance tests.
> Its available using
> "cvs -d pserver:[EMAIL PROTECTED]:/home/cvspublic co
> jakarta-slide/testsuite/"
>
> Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]