ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » News/Updates » Updated version of ma0t now available

Post new topic  Reply to topic
 Updated version of ma0t now available « View previous topic :: View next topic » 
Author Message
timjohnarm
PostPosted: Sun Oct 03, 2004 1:20 pm    Post subject: Updated version of ma0t now available Reply with quote

Apprentice

Joined: 28 Sep 2004
Posts: 40
Location: Melbourne Australia

Well after nearly 5 months of part time work V1.1.0 of my MQ test utility has finally seen the light of day. It can be downloaded from the following link.

http://www-1.ibm.com/support/docview.wss?uid=swg24007048

The main addition is the ability to control the rate at which messages are delivered to an application under test.
To illustrate the way this is done I've included an example script file, below, which if the message test program was invoked by typing in

MsgTest MessageRate8-1.xml 1 5 1 300

would see messages delivered to the target application at the rate of 1 message per second for the first 5 minutes(300 seconds) and then 2 messages per second for the next 5 minutes etc. until the To= value of 5 messages per second was reached. Where the individual messages being sent would be randomly selected from a preloaded pool of ten messages.

The other thing I've done is to include the 80+ test scripts and their log output where applicable as examples of the way various script functions work.

Regards
Tim Armstrong


<?xml version="1.0"?>
<!-- Test PutMsg MessageRate in INCREMENTAL mode -->
<!-- using randomly selected messages and script -->
<!-- invocation parameters -->
<MsgTest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\MsgTest\Schema\MsgTest.xsd">
<Control>
<QMgr>MYQMGR</QMgr>
<Channel>MY.SVRCONN</Channel>
<Host>127.0.0.1</Host>
<Port>1444</Port>
<TestLog>
<File>NONE</File>
<Dir>c:\MsgTest\TestScripts\Logs</Dir>
</TestLog>
<TestReport>
<File>MessageRate8-1.rpt</File>
<Dir>c:\MsgTest\TestScripts\Reports</Dir>
</TestReport>
<TestMaxWait>1</TestMaxWait>
<NextLogMsgInterval>1</NextLogMsgInterval>
<Concurrency>1</Concurrency>
<ConcurrencyWait>20</ConcurrencyWait>
<OnError>LOG</OnError>
</Control>
<Defaults/>
<!-- ================================================================================ -->
<!-- Bring everything together. Use INCREMENTAL mode with the From, To, Incr and -->
<!-- Interval values of MessageRate being variables set at script invocation time. -->
<!-- ================================================================================ -->
<Test Name="#1 Put Messages">
<!-- Load up the ten test data files into separate buffers -->
<For Name="LoadFile" From="1" To="10" Incr="1" Format="%02d">
<GetFile>
<Buffer>Buff%LoadFile%</Buffer>
<File>FileIn%LoadFile%.txt</File>
<Dir>c:\MsgTest\TestScripts\DataIn</Dir>
</GetFile>
</For>
<!-- Put a series of messages using INCREMENTAL mode. Repeated twice -->
<For Name="Twice" From="1" To="2" Incr="1">
<ForEver Name="Ext">
<RandomNum Name="BuffSelect" From="1" To="10" Format="%02d"/>
<IntervalStart Name="PutMsg"/>
<PutMsg>
<!-- Use random number to select the message buffer to be sent -->
<Buffer>Buff%BuffSelect%</Buffer>
<Q>MSGTEST.OUT</Q>
<MsgId/>
<CorrelId/>
<MessageRate From="%1%" To="%2%" Incr="%3%" Interval="%4%" Mode="INCREMENTAL"/>
<IntervalInMsgId Name="Put"/>
</PutMsg>
<IntervalEnd Name="PutMsg"/>
</ForEver>
</For>
</Test>
</MsgTest>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » News/Updates » Updated version of ma0t now available
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.