Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

web services script with web_service_set_security

$
0
0

Hello All,

I am having an issue gettting a web services script going with loadrunner 12.x.

Can someone tell me looking at the output below if my security setup for the webservice is looking or if it even hitting the end point or not

Specifically when i set up the web_service_set_security and run the web service without any parameters i get the below output result ...

Virtual User Script started at : 11/11/2015 3:10:04 PM
Starting action vuser_init.
Web Services replay version 12.0.0 for Windows 7; Toolkit: ".Net"; build 2739
Run-Time Settings file: "C:\Users\admin\Documents\VuGen\Scripts\WebServices1\\default.cfg"
Vuser directory: "C:\Users\admin\Documents\VuGen\Scripts\WebServices1"
Vuser output directory: "C:\Users\admin\Documents\VuGen\Scripts\WebServices1\"
LOCAL start date/time: 2015-11-11 15:10:04
vuser_init.c(4): Web service set security started.
vuser_init.c(4): Web set security was successful.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(8): web_set_sockets_option started [MsgId: MMSG-26355]
Action.c(8): web_set_sockets_option was successful [MsgId: MMSG-26392]
Action.c(52): Web service call "GetTransactions_105" started
Action.c(52): Security Helper is ready to process.
Action.c(52): Request envelope before user handler:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"><soap:Header><wsa:Action>http://emma.msrb.org/schemas/subscriber-service/IEmmaSubscriptionService/GetTransactions</wsa:Action><wsa:MessageID>uuid:3f3ae916-2f7b-4486-bb6d-c3e2003d4ec1</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>https://emmaservicesuat3.msrb.org/SubscriberServices/EmmaSubscriptionService.svc/regulator</wsa:To></soap:Header><soap:Body><GetTransactions xmlns="http://emma.msrb.org/schemas/subscriber-service"><submissionType>CD</submissionType><specVersion xsi:nil="true" /></GetTransactions></soap:Body></soap:Envelope>
Action.c(52): Begin creating security elements specified in previous web_service_set_security call.
Action.c(52): X509 token "X509CertificateToken1" created successfully.
Action.c(52): Request envelope after security handler:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"><soap:Header><wsa:Action>http://emma.msrb.org/schemas/subscriber-service/IEmmaSubscriptionService/GetTransactions</wsa:Action><wsa:MessageID>uuid:3f3ae916-2f7b-4486-bb6d-c3e2003d4ec1</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>https://emmaservicesuat3.msrb.org/SubscriberServices/EmmaSubscriptionService.svc/regulator</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsu:Timestamp wsu:Id="Timestamp-68d07df9-2cf4-4bbd-b11f-9182f8921354" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Created>2015-11-11T20:10:05Z</wsu:Created><wsu:Expires>2015-11-11T20:15:05Z</wsu:Expires></wsu:Timestamp><wsse:BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" wsu:Id="SecurityToken-61e06da0-b212-4484-87af-360bd9e377e8" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xs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ZTovL1xcbXNyYi1jYS0wMVxDZXJ0RW5yb2xsXG1zcmItY2EtMDFfTVNSQi1DQS0wMSgyKS5jcnQwDQYJKoZIhvcNAQEFBQADgYEAAzG9ijDV0TJUdkANc2/GX06l9WmYv9gT/YUIRdvaAITumPlN3jAsFoUKoWVEbFY4v12ZgUVsZaRhZ9hEszvq5U1+kTQK47Abv8cAhSuay4JmjwOqJh5UTajn6reatX803a1sLUP1V5cHoColvGn681bhmpw/QHDOSVLiXAr6jKg=</wsse:BinarySecurityToken></wsse:Security></soap:Header><soap:Body><GetTransactions xmlns="http://emma.msrb.org/schemas/subscriber-service"><submissionType>CD</submissionType><specVersion xsi:nil="true" /></GetTransactions></soap:Body></soap:Envelope>
Action.c(52): "SOAPAction: "http://emma.msrb.org/schemas/subscriber-service/IEmmaSubscriptionService/GetTransactions"" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506]
Action.c(52): "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.2032)" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506]
Action.c(52): "Content-Type: application/soap+xml; charset=utf-8; action="http://emma.msrb.org/schemas/subscriber-service/IEmmaSubscriptionService/GetTransactions"" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506]
Action.c(52): t=988ms: Connecting [0] to host 209.135.220.167:443 [MsgId: MMSG-26000]
Action.c(52): t=992ms: Connected socket [0] from 192.168.4.222:34286 to 209.135.220.167:443 in 3 ms [MsgId: MMSG-26000]
Action.c(52): t=2134ms: 573-byte request headers for "https://emmaservicesuat3.msrb.org/SubscriberServices/EmmaSubscriptionService.svc/regulator" (RelFrameId=1, Internal ID=1)
Action.c(52): POST /SubscriberServices/EmmaSubscriptionService.svc/regulator HTTP/1.1\r\n
Action.c(52): Content-Type: application/soap+xml; charset=utf-8; action="http://emma.msrb.org/schemas/su
Action.c(52): bscriber-service/IEmmaSubscriptionService/GetTransactions"\r\n
Action.c(52): Cache-Control: no-cache\r\n
Action.c(52): SOAPAction: "http://emma.msrb.org/schemas/subscriber-service/IEmmaSubscriptionService/GetT
Action.c(52): ransactions"\r\n
Action.c(52): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.20
Action.c(52): 32)\r\n
Action.c(52): Accept-Encoding: gzip, deflate\r\n
Action.c(52): Accept: */*\r\n
Action.c(52): Connection: Keep-Alive\r\n
Action.c(52): Host: emmaservicesuat3.msrb.org\r\n
Action.c(52): Content-Length: 3035\r\n
Action.c(52): \r\n
Action.c(52): t=2152ms: 3035-byte request body for "https://emmaservicesuat3.msrb.org/SubscriberServices/EmmaSubscriptionService.svc/regulator" (RelFrameId=1, Internal ID=1)
Action.c(52): <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05
Action.c(52): /soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://ww
Action.c(52): w.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"><soa
Action.c(52): p:Header><wsa:Action>http://emma.msrb.org/schemas/subscriber-service/IEmmaSubscriptionServ
Action.c(52): ice/GetTransactions</wsa:Action><wsa:MessageID>uuid:3f3ae916-2f7b-4486-bb6d-c3e2003d4ec1</
Action.c(52): wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/r
Action.c(52): ole/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>https://emmaservicesuat3.msrb.org/Subscri
Action.c(52): berServices/EmmaSubscriptionService.svc/regulator</wsa:To><wsse:Security xmlns:wsse="http:
Action.c(52): //docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsu:Timesta
Action.c(52): mp wsu:Id="Timestamp-68d07df9-2cf4-4bbd-b11f-9182f8921354" xmlns:wsu="http://docs.oasis-op
Action.c(52): en.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Created>2015-11-11T20
Action.c(52): :10:05Z</wsu:Created><wsu:Expires>2015-11-11T20:15:05Z</wsu:Expires></wsu:Timestamp><wsse:
Action.c(52): BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x50
Action.c(52): 9-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200
Action.c(52): 401-wss-soap-message-security-1.0#Base64Binary" wsu:Id="SecurityToken-61e06da0-b212-4484-8
Action.c(52): 7af-360bd9e377e8" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
Action.c(52): urity-utility-1.0.xsd">MIID2TCCA0KgAwIBAgIKEz7NLgACAAAAMzANBgkqhkiG9w0BAQUFADCBhTEcMBoGCSq
Action.c(52): GSIb3DQEJARYNbXNyYkBtc3JiLm9yZzELMAkGA1UEBhMCVVMxETAPBgNVBAgTCFZpcmdpbmlhMRMwEQYDVQQHEwpBb
Action.c(52): GV4YW5kcmlhMQ0wCwYDVQQKEwRNU1JCMQwwCgYDVQQLEwNUUlMxEzARBgNVBAMTCk1TUkItQ0EtMDEwHhcNMDkwNTA
Action.c(52): 2MTg1MDQ1WhcNMjQwNTEyMjEzMjEyWjATMREwDwYDVQQDEwhlbW1hdXNlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwg
Action.c(52): YkCgYEA3p3rrEBAU/ViuCsBXjefLIblZynDGwvLQ3DGvUpDeIwFO1lnA/I/kRAdfRii3Lgs8T6tUhJZ+0PO6i/MBzb
Action.c(52): wzaYaMjRmzitMShCeOl36LviXCKdTmmt5vqQNStS5HSecds0qmP3bwO2c3JxVVwoMOAS85dtO+wIURnzpGubcD6cCA
Action.c(52): wEAAaOCAb8wggG7MA4GA1UdDwEB/wQEAwIE8DBEBgkqhkiG9w0BCQ8ENzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhki
Action.c(52): G9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcwHQYDVR0OBBYEFOWvlIFRjZsZwwD2cCT/od/VM+NLMBMGA1UdJ
Action.c(52): QQMMAoGCCsGAQUFBwMBMB8GA1UdIwQYMBaAFMvwIRZURi/zuHtxxrwoqQTVP16sMGsGA1UdHwRkMGIwYKBeoFyGK2h
Action.c(52): 0dHA6Ly9tc3JiLWNhLTAxL0NlcnRFbnJvbGwvTVNSQi1DQS0wMS5jcmyGLWZpbGU6Ly9cXG1zcmItY2EtMDFcQ2Vyd
Action.c(52): EVucm9sbFxNU1JCLUNBLTAxLmNybDCBoAYIKwYBBQUHAQEEgZMwgZAwRQYIKwYBBQUHMAKGOWh0dHA6Ly9tc3JiLWN
Action.c(52): hLTAxL0NlcnRFbnJvbGwvbXNyYi1jYS0wMV9NU1JCLUNBLTAxKDIpLmNydDBHBggrBgEFBQcwAoY7ZmlsZTovL1xcb
Action.c(52): XNyYi1jYS0wMVxDZXJ0RW5yb2xsXG1zcmItY2EtMDFfTVNSQi1DQS0wMSgyKS5jcnQwDQYJKoZIhvcNAQEFBQADgYE
Action.c(52): AAzG9ijDV0TJUdkANc2/GX06l9WmYv9gT/YUIRdvaAITumPlN3jAsFoUKoWVEbFY4v12ZgUVsZaRhZ9hEszvq5U1+k
Action.c(52): TQK47Abv8cAhSuay4JmjwOqJh5UTajn6reatX803a1sLUP1V5cHoColvGn681bhmpw/QHDOSVLiXAr6jKg=</wsse:
Action.c(52): BinarySecurityToken></wsse:Security></soap:Header><soap:Body><GetTransactions xmlns="http:
Action.c(52): //emma.msrb.org/schemas/subscriber-service"><submissionType>CD</submissionType><specVersio
Action.c(52): n xsi:nil="true" /></GetTransactions></soap:Body></soap:Envelope>
Action.c(52): Aborting pending download of URL="https://emmaservicesuat3.msrb.org/SubscriberServices/EmmaSubscriptionService.svc/regulator" (RelFrameId=1, Internal ID=1) [MsgId: MMSG-27654]
Action.c(52): Error Exceptions:
Action.c(52): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ApplicationException: Step download timeout (120 seconds) has expired
at Mercury.LR.WS.ProxyBase.LrWsWebRequest.SyncProcessRequest()
at Mercury.LR.WS.ProxyBase.LrWsWebRequest.OnRequestStreamClosed(MemoryStream stream)
at Mercury.LR.WS.ProxyBase.WSMemoryStream.Close()
at Microsoft.Web.Services2.OutputStream.Close()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Mercury.LR.NETProxy.EmmaSubscriptionService.GetTransactions(String submissionType, DateTime postingDate, Boolean postingDateSpecified, String specVersion)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Mercury.LR.LrWsNetClient.ProxyCreator.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
Action.c(52): Error:InvokeMethod failure: Step download timeout (120 seconds) has expired.


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>