I am using LCDS 3.1 java based load testing tool to generate 100 concurrent 
consumer to subscribe to the topic. 
Since I am using edge server to communicate with application server. It dose 
not be able to subscribe the consumer because getway service is not be able to 
authenticate client.
I am getting Following error.

Exception in thread "main" java.lang.RuntimeException: Consumer '0' failed to 
subscribe:
Flex Message (flex.messaging.messages.ErrorMessage) 
    clientId = C06AF337-0D68-2A86-C855-8AA0BC025252
    correlationId = D383DB46-081D-9083-A00B-81B06DD4AA31
    destination = application_data
    messageId = C06B06BF-0C3F-F7CF-1701-B1EA4F1FB678
    timestamp = 1273679434799
    timeToLive = 0
    body = null
    hdr(DSErrorHint) = true
    code =  Server.Authentication
    message =  Gateway service 'gateway-to-app' requires an authenticated 
client. Please login before interacting with any gateway service destinations.
    details =  null
    rootCause =  null
    body =  null
    extendedData =  null
        at javaclientexamples.LCDSDriver.doMain(LCDSDriver.java:274)
        at javaclientexamples.LCDSDriver.main(LCDSDriver.java:131)


In Flex client we are using setCredential of consumer class to set credential 
to authenticate client.

But i am not be able to set credential for consumer in java based load testing 
tool. Consumer /MessageAgent/ ChannelSet class does not have setCredential  
method. is there any way to set the credential in consumer/Channel so that it 
can subscribe. 

Or any tool which can help me to generate 100 simultaneous user load on server 
(edge server + application) and do load testing for messaging on  RTMP/RTMPS 
protocol.


Reply via email to