[ptt-users] jboss and XS Test

Frank Cohen fcohen at pushtotest.com
Thu Dec 7 13:10:56 PST 2006


Glad to help. TestMaker and the SOA Performance Kit should work "out  
of the box" at least that's the goal. Once you get it working I'd  
appreciate your notes on what went wrong so we can revise the Kit.  
Thanks. -Frank





On Dec 7, 2006, at 12:09 PM, Prabhat Jha wrote:

> Hi Frank,
>
> Somehow I had this perception that TestMaker would work out of the box
> and the error log made me think that download must be missing  
> something
> or some config is not correct. I will try what you have suggested and
> see how it goes. Many thanks for your help.
>
> 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