tags:

views:

123

answers:

0

I managed to use WCAT to test an url for an aspx page getting an asset. Now I would like to use it to test a remote call to WebORB from Flex.

Problem is I don't know what to put in RequestData, RequestHeader, ... If I look with Charles (HTTP Monitor), then it's impossible to copy paste the request data (it has squares and all kind of weird characters that can't be copy paste to my txt file).

I managed to save the request data with Charles (http monitor). Then, in the transaction of WCAT, I enter this:

NEW TRANSACTION 
classId = 1 
NEW REQUEST HTTP 
    Verb = "POST" 
    URL = "http://tlv-edu-lic/edumatic3/trunk/weborb.aspx"
    UserName = "[email protected]"
    Password = "3a21f024774d839702c2f0a9e7b0a164"
    RequestHeader = "Host: srv-edu-build"
    RequestHeader = "Accept: */*"
    RequestHeader = "Accept-Language: nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4"
    RequestHeader = "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) 
        AppleWebKit/532.5(KHTML, like Gecko) Chrome/4.1.249.1042 Safari/532.5"
    RequestHeader = "content-type: application/x-amf"
    RequestHeader = "Accept-Encoding: gzip,deflate,sdch"
    RequestHeader = "Content-Length: 356"
    RequestHeader = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3"
    RequestHeader = "Cookie: ASP.NET_SessionId=er220eefpae3wtmm1vmti5vh"
    RequestData= "weborb.aspx"

Which doesn't work. weborb.aspx is the file containing the request.

I get all 30X Redirect answers, probably because the weborbconsole.html is launched.

This is the log of Weborb:

2010-03-26 10:30:37,571 [9] WEBORB_INFO WebORB - 
   Received request for http://tlv-edu-lic/edumatic3/trunk/weborb.aspx from ::1
2010-03-26 10:30:37,571 [9] WEBORB_INFO WebORB - 
   Request is in session wu2np1nu4fy01cehkowczq34
2010-03-26 10:30:37,572 [9] WEBORB_EXCEPTION WebORB - 
  cannot parse request. possible reasons: malformed request or protocol 
  formatter is not registered :   at 
  Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
  requestStream, NameValueCollection headers)
  at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse A_2)