[ptt-users] jboss and XS Test

Frank Cohen fcohen at pushtotest.com
Tue Dec 12 22:45:45 PST 2006


Hi Prabhat: I'm glad to see you got it to work. We will revise the  
download to incorporate your instructions on the jars. Also, note  
that we're using the older WS stack with JBoss 4. So there's room for  
improvement.

The Meters and Charts support in the Kit comes when you run the kit  
with the commercial TestMaker Platform product. This is available for  
license from PushToTest. I'll have someone contact you about this. Of  
course, you can run the test using TestMaker - the GPL version - and  
the Kit will output the results in comma-separated-value form.

-Frank



On Dec 12, 2006, at 11:46 PM, Prabhat Jha wrote:

> Hi Frank,
>
> I was finally able to run sushiboats.py against jboss. Thanks for your
> help. Of course, I am going to dive into code now  play with different
> config now. Just as a primer, can you please let me know what do I  
> need
> to modify to similuate different load scenario? Also, I did not see  
> any
> info under Meters and Charts tabbed pane.
>
> In case somebody else tries to run tests against JBoss, they need  
> to add
> following jars in TestMaker\TMCP.bat.
>
> ======
>
> set SOAKIT_HOME=C:\qa\pushToTest\source
>
> REM ** TVDinner Client
> set
> TMCP=%TMCP%;%SOAKIT_HOME%\Dev\TVDinner\JBoss4\deploy 
> \tvdinnerClient_Jbos
> s.jar
>
> REM ** SushiBoats Client
> set
> TMCP=%TMCP%;%SOAKIT_HOME%\Dev\SushiBoats\JBoss4\deploy 
> \sushiboatsClient_
> Jboss.jar
>
> REM ** TheBuffet Client
> set
> TMCP=%TMCP%;%SOAKIT_HOME%\Dev\TheBuffet\JBoss4\deploy 
> \thebuffetClient_Jb
> oss.jar
>
> set TMCP=%TMCP%;%SOAKIT_HOME%\Dev\DPL\deploy\DPL.jar
>
> REM====================================================
>
> SET JWSDP_HOME=C:\software\jwsdp-1.6
>
> set TMCP=%TMCP%;%JWSDP_HOME%\jaxrpc\lib\jaxrpc-impl.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\jaxrpc\lib\jaxrpc-api.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\jaxrpc\lib\jaxrpc-spi.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\fastinfoset\lib\FastInfoSet.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\sjsxp\lib\jsr173_api.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\saaj\lib\saaj-impl.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\saaj\lib\saaj-api.jar
>
>
> Regards,
> Prabhat
>
>
> -----Original Message-----
> From: users-bounces at lists.pushtotest.com
> [mailto:users-bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
> Sent: Thursday, December 07, 2006 1:12 PM
> To: TestMaker users list
> Subject: Re: [ptt-users] jboss and XS Test
>
> Hi Prabhat:
>
> 1. The source\dev\XSTest\tm_start\SetSoakitEnv.bat is a little script
> that contains the variables you should set for the tests to work.
> JBOSS_HOME should point to the JBoss installation directory (where it
> was installed). If it is working in a remote server, we will require
> some of the jar that came with it, as distributables, in the client
> side.
>
> I have this in in the list:
> source\dev\SushiBoats\JBoss4\deploy\build.xml(15): <property
> name="jboss.home" value="${env.JBOSS_HOME}"/>
> source\dev\SushiBoats\JBoss4\deploy\build.xml(160): <copy todir="$
> {env.JBOSS_HOME}/server/default/deploy">
> source\dev\TheBuffet\JBoss4\deploy\build.xml(29): <fileset dir="$
> {env.JBOSS_HOME}/client">
> source\dev\TheBuffet\JBoss4\deploy\build.xml(37): <fileset dir="$
> {env.JBOSS_HOME}/lib/">
> source\dev\TheBuffet\JBoss4\deploy\build.xml(114): <copy todir="$
> {env.JBOSS_HOME}/server/default/deploy">
> source\dev\TVDinner\JBoss4\deploy\build.xml(17): <property
> name="jboss.home" value="${env.JBOSS_HOME}"/>
> source\dev\TVDinner\JBoss4\deploy\build.xml(173): <copy todir="$
> {env.JBOSS_HOME}/server/default/deploy">
>
> Note that for Sushiboats we need the JBOSS_HOME only to deploy.  It
> is in TheBuffet that we use the Jboss Client and some Lib jar files.
>
> 2. TestMaker is not ready out of the box to run the examples. The
> TestMaker.bat and TMCP.bat files require some changes, in order to
> load the client jar files required to run some agents.
> Particularly, the problem presented is in the jboss4_sushiboats.py
> line :
> # javax's Stub
> from javax.xml.rpc import Stub
>
> This is loaded in the TMCP_Rest.bat, referenced in the line:
> REM ** JWSDP Libraries
> set TMCP=%TMCP%;%JWSDP_HOME%\jaxrpc\lib\jaxrpc-impl.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\jaxrpc\lib\jaxrpc-api.jar
> set TMCP=%TMCP%;%JWSDP_HOME%\jaxrpc\lib\jaxrpc-spi.jar
>
> Note that the JWSDP must be installed and the JWSDP_HOME should be
> set to point to it.
>
> So, please copy the bat files that are in the SOAKit\source\dev\XSTest
> \tm_start directory to the TestMaker install dir (be sure to include
> the tesmaker.bat).
> Then edit the SetSoakitEnv.bat script to set the environment
> variables, and execute it.
>
> Lastly, run the testmaker.bat file. It will show a selection menu,
> where the user simply needs to choose the option 3 (Rest) which calls
> the correct TCMP and sets all libraries for running JBoss examples.
>
> Hope this helps.
>
> -Frank
>
>
> On Dec 7, 2006, at 7:13 AM, Prabhat Jha wrote:
>
>> I see JBOSS_HOME being used in pushToTest\source\dev\SushiBoats
>> \JBoss4\deploy\build.xml. I am going to follow on that but what I
>> am trying to do is to use prebuilt binaries, both client and
>> server, through GUI. Intuitively, I was thinking it would be in
>> pushToTest\TestMaker\XSTest\properties.py.
>>
>>
>>
>> Regards,
>>
>> Prabhat
>>
>>
>>
>> From: users-bounces at lists.pushtotest.com [mailto:users-
>> bounces at lists.pushtotest.com] On Behalf Of Prabhat Jha
>> Sent: Thursday, December 07, 2006 8:02 AM
>> To: TestMaker users list
>> Subject: RE: [ptt-users] jboss and XS Test
>>
>>
>>
>> Hi Paul,
>>
>>
>>
>> I do not see any content in your mail.  Looks like accidental click
>> on send button:-(
>>
>>
>>
>> Regards,
>>
>> Prabhat
>>
>>
>>
>> From: users-bounces at lists.pushtotest.com on behalf of Paul Cuda
>> Sent: Thu 12/7/2006 7:55 AM
>> To: TestMaker users list
>> Subject: Re: [ptt-users] jboss and XS Test
>>
>>
>>
>> ___
>> Sent with SnapperMail
>> www.snappermail.com
>>
>>  ..... Original Message .......
>> On Wed, 6 Dec 2006 18:24:43 -0800 Frank Cohen
>> <fcohen at pushtotest.com> wrote:
>>> Hi Prabhat: Thanks for downloading TestMaker. Which Kit are you
>>> using? The file name will help. Thanks. -Frank
>>>
>>>
>>> On Dec 6, 2006, at 3:45 PM, Prabhat Jha wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I just downloaded TestMaker and I am trying to run
>>>> jboss4_sushiboats.py with jboss using GUI. Prebuilt binaries for
>>>> sushiboats deploys with no problem. I am having problem running the
>>>> XS Test. I would appreciate if you could help with me following
>>>> questions:
>>>>
>>>>
>>>>
>>>> Where do I set the HOME locations for the JBoss application server
>>>> in startup script? I am referring to Section 1.5 in the developer
>>>> journal.
>>>> Prebuilt binaries has client side jar as well. Where do I need to
>>>> add this jar so that it's in classpath?
>>>> I am getting following error when I run sushiboats.py
>>>> Agent error:
>>>>
>>>> Traceback (innermost last):
>>>>
>>>>  File "<string>", line 22, in ?
>>>>
>>>>  ImportError: No module named rpc
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I think this error can be resolved once I have answer to 1 & 2.
>>>> Thanks in advance for your help.
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Prabhat
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.pushtotest.com
>>>> http://lists.pushtotest.com/mailman/listinfo/users
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.pushtotest.com
>>> http://lists.pushtotest.com/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>



More information about the Users mailing list