Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Forum Post: Unable to get response - Silverlight

$
0
0
Hello friends.  I have been assigned an performance testing project which is based on Silverlight 5 (5.1.20913.0) . The Front end uses Silverlight and HTML in IE7 /8/9. I created a silk performer project with application type as Silverlight . I recorded a script with browser emulation level as - Page-based Browser level API (HTML/HTTP) . I handled the session ids and parameterized the script. I also added GUID/UUID fields. But I am unable to get expected response from Server. With reference to this question (Also see the attached files): http://community.microfocus.com/borland/test/silk_performer_-_application_performance_testing/f/30/t/10427.aspx As answered by Jonny, I successfully replaced GUID. But script failed to get expected response from server. Anyways, I added all the necessary fields in Out Header as in recorded. Also go through entire script/record log/recorded truelog. So I am sure I am not missing out any of these little things. The script is about searching a Customer Details by its Customer ID where it calls a SOAP service. The corresponding BDL event is :   WebPageSubmitBin ("SLLaunchPage",       " s:Envelope xmlns:s=\" http://www.w3.org/2003/05/soap-envelope\ " xmlns:a=\" http://www.w3.org/2005/08/addressing\" \r\n "       "  s:Header \r\n"       "    a:Action s:mustUnderstand=\"1\" http://tempuri.org/IUWCustomLOV/GetLOVCustomer /a:Action \r\n"       "    a:MessageID urn:uuid:295ff1c2-d057-4a89-b8a8-000b2f81a57a /a:MessageID \r\n" // Replaced via DLL       "    a:ReplyTo \r\n"       "      a:Address http://www.w3.org/2005/08/addressing/anonymous /a:Address \r\n"       "    /a:ReplyTo \r\n"       "    a:To s:mustUnderstand=\"1\" http://172.20.5.104/WCFCustomLov/UWCustomLOV.svc/Custom /a:To \r\n"       "  /s:Header \r\n"       "  s:Body \r\n"       "    GetLOVCustomer xmlns=\" http://tempuri.org/\" \r\n "       "      strServiceToken "+sParseAuthToken01+" /strServiceToken \r\n"       "      diCInputData xmlns:b=\" http://schemas.microsoft.com/2003/10/Serialization/Arrays\ " xmlns:i=\" http://www.w3.org/20 "       "01/XMLSchema-instance\" \r\n"       "        b:KeyValueOfstringstring \r\n"       "          b:Key CustomerName /b:Key \r\n"       "          b:Value \r\n"       "          /b:Value \r\n"       "        /b:KeyValueOfstringstring \r\n"       "        b:KeyValueOfstringstring \r\n"       "          b:Key CustomerId /b:Key \r\n"       "          b:Value 1000000100 /b:Value \r\n" // ID of the customer       "        /b:KeyValueOfstringstring \r\n" ..... // rest of XML Tags.... "  /s:Body \r\n"       " /s:Envelope ", STRING_COMPLETE, "application/soap+msbin1", "Custom (#1)"); // Form 1  Expected result from this event was as follows in Recorded Truelog :   s:Body     GetLOVCustomerResponse xmlns=" http://tempuri.org/ "       GetLOVCustomerResult xmlns:b=" http://schemas.datacontract.org/2004/07/CustomLovBL " xmlns:i=" http://www.w3.org/2001/XMLSchema-instance "         b:LOVCustomer           b:DepartmentCode           /b:DepartmentCode           b:EndorsementDate           /b:EndorsementDate           b:EndorsementTypeCode           /b:EndorsementTypeCode           b:ID i:nil="true"           /b:ID           b:LOVXML & lt;NewDataSet>   <Table1>     <Customer_x0020_Code>1000000100</Customer_x0020_Code>     <Customer_x0020_Name>VLADIMIRR VL PUTINN</Customer_x0020_Name>     <Customer_x0020_Type>Individual</Customer_x0020_Type>     <Address_x0020_Line_x0020_1>THE GQHOVH APARTMENT</Address_x0020_Line_x0020_1>     <Address_x0020_Line_x0020_2>CANONICAL CHAL</Address_x0020_Line_x0020_2>     <Address_x0020_Line_x0020_3>UBUNTU APT</Address_x0020_Line_x0020_3>     <Contact_x0020_No>8804928072</Contact_x0020_No>     <PinCode>400028</PinCode>   </Table1> </NewDataSet&gt ; /b:LOVXML           b:Name i:nil="true" ...// etc....     I get response when I tryscript this as:   /s:Header   s:Body     GetLOVCustomerResponse xmlns=" http://tempuri.org/ "        GetLOVCustomerResult i:nil="true" xmlns:b=" http://schemas.datacontract.org/2004/07/CustomLovBL " xmlns:i=" http://www.w3.org/2001/XMLSchema-instance "       /GetLOVCustomerResult     /GetLOVCustomerResponse   /s:Body   Which is of course indicates  No result has been returned. Although nil, but the response had came. Obviously, my suspicion is with the header being added in the BDL event. and more specifically with tags :   a:ReplyTo   a:Address http://www.w3.org/2005/08/addressing/anonymous /a:Address As I am not an expert in SOAP, I don't know what should be ReplayTo tag value should be. Is it the case this tag might be causing no response? If not what might be the problem? Please help me out this is bugging me. Sorry for long post.

Viewing all articles
Browse latest Browse all 4084

Trending Articles



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