Hello,
I'm using .cmd script to run two generators.
start cmd /K runloadgen.cmd modelu_100.prop
start cmd /K runloadgen.cmd modelq_100.prop
modelq_100.prop contains startRate parameter
test.csvDataFile=test_queries_500.sql
# port the server will listen on for client connection
test.port=9011
# server host (localhost if not specified)
#test.host=nwbInputQueries.csv
# do not change the packetType
test.packetType=CSV
test.secs=100
test.rate=1
test.startRate=10
test.rampUpSecs=1
which causes an error
Exception :
Settings:
test.propFile=modelq_100.prop
test.mode=client
test.host=
test.port=9011
test.verbose=false
test.statInterval=2000
test.latencyStats=false
test.rate=1
test.startRate=10
test.rampUpSecs=0
test.timeSyncPort=0
test.senders=1
test.reportUnchangedQuotes=true
test.filePerSender=false
test.secs=100
test.packetType=CSV
test.stocksFile=
test.stocksFileLength=0
test.csvDataFile=test_queries_500.sql
test.ticksPerPacket=20
test.loopBack=true
test.senderSkew=0
Exception in thread "Main Thread" java.lang.RuntimeException
at com.bea.wlevs.adapter.packet.impl.marketsim.TestMain.runClient(TestMa
in.java:279)
at com.bea.wlevs.adapter.packet.impl.marketsim.TestMain.testRun(TestMain
.java:122)
at com.bea.wlevs.adapter.packet.impl.marketsim.TestMain.main(TestMain.ja
va:83)
It's happening only when rate is diffrent from startRate. ;-)
I hope this bug will be fixed, same like
full CSV standard support not just comma split. ( less then 5 exctra characters in regex of split.. )
Quick fix:
start cmd /K runloadgen.cmd modelu_100.prop
// Short
start cmd /K runloadgen.cmd modelq_100_10inOneSecFor5sec.prop
// Sleep 5secs
ping -n 5 127.0.0.1 >NUL
// Rest with 1 row per second
start cmd /K runloadgen.cmd modelq_100.prop
Thanks,
R.
Edited by: zatzy on 2009-11-30 16:08