[ptt-users] Performance Kit or Test kit for Apache Tomcat/Axis?

Frank Cohen frank at pushtotest.com
Fri May 23 11:20:24 PDT 2008


Hi Norm:

I'm sorry for the long delay in responding to your question.

Pulling dynamic data over a Gigibit ethernet network with modern  
processors (>3 Ghz) presents no problem to get up to thousands of users.

soapUI supports Groovy as its domain specific language (DSL.)

PushToTest orchestrates test use cases written in a variety of  
languages. We use the Java 6 ScriptEngine API. It supports JRuby,  
Perl, PHP, etc. This enables end-to-end testing. See the following  
for an example where a test use case runs a soapUI test, then a JUnit  
TestCase written in Jython.

  <test>

  <!-- Step 1: Use a SOAP Web service to add products to the  
inventory -->
  <run name="AddProductToInventory" testclass="testsuite"
  method="testcase" langtype="soapui">
  <argument name="Properties" dpl="hash" value="getRandomData"/>
  </run>

  <!-- Step 2: Use a JUnit test to check the products are actually in  
the ineventory -->
  <run name="CheckInventory" module="JythonModule"  
testclass="testgen4web"
  method="run" langtype="jython">
  <argument name="Web Broser File" dpl="rsc" value="getDataByIndex"  
index="0"/>
  </run>

  </test>

-Frank





On May 16, 2008, at 9:23 AM, Norm Dressler wrote:

> By using a script to pull dynamic data, will the nodes/processes be  
> able
> to process several thousand lookups and simulate 200 users?  I  
> imagine I
> would need several test nodes but I'm looking to get enough random  
> data
> lookups to not only test the SOAP response times but it will also test
> the application and database response times.
>
> Could I just as easily write this in Python as opposed to Groovy?   
> What
> other scripting languages are supported?  I know Perl very well, as an
> example.
>
> Thanks
> Norm
>
> On Thu, 2008-05-15 at 12:48 -0700, Frank Cohen wrote:
>> Hi Norm:
>>
>> In your scenario I would look at writing a custom DPL to do the
>> dynamic lookups at test execution time. A second approach would be to
>> have a DPL provide the data to a Groovy script in soapUI and do the
>> processing in Groovy.
>>
>> -Frank
>>
>>
>>
>> On May 15, 2008, at 12:19 PM, Norm Dressler wrote:
>>
>>> That looks very interesting.  I was going through some other
>>> documentation that discussed the DPL functionality and it looked to
>>> be what I'm looking for.
>>>
>>> The scenario is a bit different though -- we have a SOAP-based
>>> interface that we are testing.  There are 5 different message types
>>> which are lookups, etc., I want to be able to inject dynamic lookup
>>> parameters to the message before it is sent to the SOAP-based
>>> interface.  Being able to scale that
>>> upwards to test the system's performance is key.
>>>
>>> We have test data already -- it can be in many different forms and
>>> it seems that you can map to CSV, which would work.  I'm just not
>>> entirely certain (yet) how I would map that into the XML.
>>>
>>> Norm
>>>
>>> -----Original Message-----
>>> From: users-bounces at lists.pushtotest.com [mailto:users-
>>> bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
>>> Sent: Thursday, May 15, 2008 4:39 PM
>>> To: TestMaker users list
>>> Subject: Re: [ptt-users] Performance Kit or Test kit for Apache
>>> Tomcat/Axis?
>>>
>>> Hi Norm:
>>>
>>> It's not that difficult with PushToTest and soapUI. We even have a
>>> new example in TestMaker 5.2 to accomplish a dynamic data-driven  
>>> test.
>>>
>>> Look here:
>>> http://tinyurl.com/6ys8hc
>>>
>>> -Frank
>>>
>>>
>>>
>>> On May 15, 2008, at 10:26 AM, Norm Dressler wrote:
>>>
>>>> Thanks Frank.  I have my work cut out for me as I need to figure
>>>> out how to inject dynamic data into a performance test.
>>>>
>>>> Norm
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces at lists.pushtotest.com [mailto:users-
>>>> bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
>>>> Sent: Thursday, May 15, 2008 2:28 PM
>>>> To: TestMaker users list
>>>> Subject: Re: [ptt-users] Performance Kit or Test kit for Apache
>>>> Tomcat/Axis?
>>>>
>>>> Hi Norm:
>>>>
>>>> Thanks for pointing out the broken link. We used to ship the soapUI
>>>> docs with the TestMaker distribution but changed that so we could
>>>> reduce the size of the download.
>>>>
>>>> The soapUI documentation is at:
>>>> http://www.soapui.org/userguide/index.html
>>>>
>>>> We will update the link in TestMaker 5.2.
>>>>
>>>> -Frank
>>>>
>>>> On May 14, 2008, at 8:50 AM, Norm Dressler wrote:
>>>>
>>>>>>>
>>>>>>
>>>>>> I was running through the tutorials (no problems there yet)  
>>>>>> but in
>>>>>> there
>>>>>> it points to the SoupUI Documentation with a link -- the link
>>>>>> doesn't
>>>>>> exist.  Not locally or from the PushToTest web site.  Where can I
>>>>>> find
>>>>>> the SoupUI Documentation?
>>>>>>
>>>>>
>>>>> I'll try this email again -- where can I find the SoupUI
>>>>> documentation?
>>>>>
>>>>> Thanks!
>>>>> Norm
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.pushtotest.com
>>>>> http://lists.pushtotest.com/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> --
>>>> Frank Cohen, http://www.PushToTest.com, phone 408 871 0122
>>>> PushToTest, the open-source test automation company
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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