Service Virtualization

  • 1.  Arguments are not populating under Arguments column in inspection view in portal

    Posted Dec 15, 2017 02:21 AM

    Hi All,

     

    I dont see any arguments and thier values under Arguments column in inspection view in portal once request hits Virtual services. but I am able to get response after sending request. And i can see same operation, arguments and thier values in show matching mode.

     

    Insted of VSM steps i am getting (Unknown) tags under Execution steps events Column.

     

    Here is the screeen shot for the issue.

     

     

    Can any one  please guide me, how to fix this issue?

     

     

    Thanks,

    Suresh



  • 2.  Re: Arguments are not populating under Arguments column in inspection view in portal
    Best Answer

    Posted Dec 15, 2017 08:43 AM

    Assuming that you are using HTTP, the arguments column reflects the query parameters on the URL - so, using the supplied examples that we have a GET on

     

    http://localhost:8001/itkoExamples/EJB3UserControlBean?wsdl

     

    would give an argument of "wsdl" and be shown as below:

     

    {"id":0,"operation":"GET /itkoExamples/EJB3UserControlBean","arguments":{"wsdl":"wsdl"}}

     

    and a post would reflect similar. If, however, there are no query parameters then there are no arguments to display. So, if you are passing your information in the body of the request then you will not see anything here. 

     

    Again, using our examples, a POST with the required information in the payload gives 

     

    Request {id=0, operation="POST /itkoExamples/EJB3UserControlBean", arguments=, attributes=HTTP-Segment-Attr-0=itkoExamples&HTTP-Segment-Attr-1=EJB3UserControlBean, metaData=HTTP-Method=POST&HTTP-URI=/itkoExamples/EJB3UserControlBean&HTTP-Version=1.1&Content-Type=text/xml; charset=utf-8&SOAPAction=""&User-Agent=Axis/1.4-LISA&lisaFrameRemoteIP=10.129.145.61&lisaFrameRoot=true&lisaFrameID=29554a60-e19d-11e7-ba8a-f01e3400359a&Content-Length=452&Host=localhost:8001&Connection=Keep-Alive&lisa.vse.request.client.id=127.0.0.1:51846, matchTolerance=Exact, binary=false, body=(non-binary)[452 bytes] <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <soapenv:Body>
    <addUser xmlns="http://ejb3.examples.itko.com/">
    <!--username is optional-->
    <username xmlns="">webapp-1809697074</username>
    <!--password is optional-->
    <password xmlns="">example-pwd</password>
    </addUser>
    </soapenv:B_TRUNCATED_

    So, the question is, are you passing query parameters - in which case you will see arguments, or are you sending all of the data in the payload?



  • 3.  Re: Arguments are not populating under Arguments column in inspection view in portal

    Posted Dec 16, 2017 04:44 AM

    Hi Dave,

     

    This is not http service. Its MQ based service where i am sending swift message. And I am able to get response but Arguments column not reflecting anything.

     

    But I can see all arguments and opearation name and all values in Matching view.

     

    My queries are below.

    1. Why <unknown> tags are coming instead of VSM steps?

    2. Cant we see Opearation name, arguments and their values in recent requests as seen in Match view?

     

    Thanks,

    Suresh N



  • 4.  Re: Arguments are not populating under Arguments column in inspection view in portal

    Posted Dec 18, 2017 09:47 AM

    Hi Suresh,

     

    I need ask a question in return regarding 1 -  what logging level do you have set? If it is set to less WARN or ERROR, please try with INFO

     

    As for 2 when looking at the request in the log info of the inspection view? If there are any then they will be displayed there - if not then the arguments filed has nothing to display.

     

    Regards,

    Dave.



  • 5.  Re: Arguments are not populating under Arguments column in inspection view in portal

    Posted Dec 19, 2017 01:01 AM

    Hi Dave,

     

    I set all log levels as INFO insted of WARN or OFF or ERROR. though i am not able to see any VSM steps in Matching view. But could see logs(request/response) in vse_match .log file.

     

    Still i see only <unknown> tags in Matching view instead of VSM steps. My intention is i want to see all the executed VSM steps in Matching view.

     

     

    Thanks,

    Suresh N