I am trying to replay a load runner script which makes the call through RMI to the server client-server application. The RMI service and registry are running fine on the server as other applications are able to connect and work fine.
When I try to replay the LoadRunner script, I am getting below stacktrace:
Virtual User Script started at : 2014-03-13 11:03:29
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Actions.
java.rmi.registry.LocateRegistry.getRegistry("mycompamny.abc.xyz.com", 25002, [RMIClientSocketFactory])
sun.rmi.registry.RegistryImpl_Stub.lookup("XMLS")
Error: System.err: java.net.MalformedURLException--Error
System.err: at java.net.URL.<init>(URL.java:601)--Error
System.err: at java.net.URL.<init>(URL.java:464)--Error
System.err: at java.net.URL.<init>(URL.java:413)--Error
System.err: at murex.shared.fs.Connection.<init>(Connection.java:43)--Error
System.err: at murex.shared.property.Properties.fillRMIProperties(Properties.java:231)--Error
System.err: at murex.shared.property.Properties.getObjProperty(Properties.java:91)--Error
System.err: at murex.shared.property.Properties.getProperty(Properties.java:80)--Error
System.err: at murex.apps.middleware.client.core.server.transport.rpc.tcp.socket.SocketUtilities.setSocket(SocketUtilities.java:81)--Error
System.err: at murex.apps.middleware.client.core.server.transport.rpc.tcp.socket.CompressedRMISocketFactory.createSocket(CompressedRMISocketFactory.java:29)--Error
System.err: at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)--Error
System.err: at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)--Error
System.err: at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)--Error
System.err: at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)--Error
System.err: at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)--Error
System.err: at Actions.action(Actions.java:105)--Error
Error: System.err: java.lang.NullPointerException--Error
System.err: at murex.apps.middleware.client.core.server.transport.rpc.tcp.socket.CompressedSocket.getOutputStream(CompressedSocket.java:67)--Error
System.err: at sun.rmi.transport.tcp.TCPConnection.getOutputStream(TCPConnection.java:66)--Error
System.err: at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:202)--Error
System.err: at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)--Error
System.err: at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)--Error
System.err: at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)--Error
System.err: at Actions.action(Actions.java:105)--Error
Error: java.lang.NullPointerException
Error: at murex.apps.middleware.client.core.server.transport.rpc.tcp.socket.CompressedSocket.getOutputStream(CompressedSocket.java:67)
at sun.rmi.transport.tcp.TCPConnection.getOutputStream(TCPConnection.java:66)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:202)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at Actions.action(Actions.java:105)
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
I am seing the 'MalformedURLException' but the URL we are passing is fine. Please help me resolve this.