Unable to capture UUID and Documentum GUID value in Code generation

37 views
Skip to first unread message

sandy

unread,
Dec 6, 2017, 10:01:14 AM12/6/17
to LoadRunner
Hi All,

Below is the sample code. I am trying to correlate UUID and DocumentumGUID value. When I try to search for these values in Code generation Log, I am able to capture on the same request. Can someone help me how to correlates these values .

web_custom_request("ScanClientApi_26", 
        "URL=https://SAMple/server/ScanClientApi", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=multipart/related", 
        "Referer=", 
        "Snapshot=t34.inf", 
        "Mode=HTML", 
        "EncType=multipart/related;start=\"<rootpart*d42cbe76-4892-4f65...@example.jaxws.sun.com>\";type=\"application/xop+xml\";boundary=\"uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d\";start-info=\"text/xml\"", 
        "Body=--uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d\r\nContent-Id: <rootpart*d42cbe76-4892-4f65-becc-cedafcf2bb9d@example.jaxws.sun.com>\r\nContent-Type: application/xop+xml;charset=utf-8;type=\"text/xml\"\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\" ?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns3:clientHeartBeat xmlns:ns3=\"http://imagetrust.com/scanserver/clientapi\" xmlns:xmime=\"http://www.w3.org/2005/05/xmlmime\"></ns3:clientHeartBeat></S"
        ":Body></S:Envelope>\r\n--uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d--", 
        LAST);

    web_url("AuditDB.jsp", 
        "URL=https://Sample/server/cosd/AuditDB.jsp?KEY={KEY}&DOCUMENTGUID=E27297A2-D919-11E7-93FE-A0D3C1068460&BATCHGUID=E27297A0-D919-11E7-93FE-A0D3C1068460&SERVERNAME={SERVERNAME}&SCANOPERATOR=ADMIN&DOCTYPEID={DOCTYPEID}&IDENTIFIER={P_CASENUMBER}&IAPROCESS=FRC", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t35.inf", 
        "Mode=HTML", 
        LAST);

Thanks,
Sandeep

Mital Majmundar

unread,
Dec 11, 2017, 12:32:33 PM12/11/17
to LR-Loa...@googlegroups.com
Can you try recording the script with URL mode and see if you find the requests seperated on basis of different "web_url" requests?


 
Mital Majmundar

On Tue, Dec 5, 2017 at 5:55 AM, sandy <venkat.s...@gmail.com> wrote:
Hi All,

Below is the sample code. I am trying to correlate UUID and DocumentumGUID value. When I try to search for these values in Code generation Log, I am able to capture on the same request. Can someone help me how to correlates these values .

web_custom_request("ScanClientApi_26", 
        "URL=https://SAMple/server/ScanClientApi", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=multipart/related", 
        "Referer=", 
        "Snapshot=t34.inf", 
        "Mode=HTML", 
        "EncType=multipart/related;start=\"<rootpart*d42cbe76-4892-4f65-becc-cedafc...@example.jaxws.sun.com>\";type=\"application/xop+xml\";boundary=\"uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d\";start-info=\"text/xml\"", 

        "Body=--uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d\r\nContent-Id: <rootpart*d42cbe76-4892-4f65-becc-cedafcf2bb9d@example.jaxws.sun.com>\r\nContent-Type: application/xop+xml;charset=utf-8;type=\"text/xml\"\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\" ?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns3:clientHeartBeat xmlns:ns3=\"http://imagetrust.com/scanserver/clientapi\" xmlns:xmime=\"http://www.w3.org/2005/05/xmlmime\"></ns3:clientHeartBeat></S"
        ":Body></S:Envelope>\r\n--uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d--", 
        LAST);

    web_url("AuditDB.jsp", 
        "URL=https://Sample/server/cosd/AuditDB.jsp?KEY={KEY}&DOCUMENTGUID=E27297A2-D919-11E7-93FE-A0D3C1068460&BATCHGUID=E27297A0-D919-11E7-93FE-A0D3C1068460&SERVERNAME={SERVERNAME}&SCANOPERATOR=ADMIN&DOCTYPEID={DOCTYPEID}&IDENTIFIER={P_CASENUMBER}&IAPROCESS=FRC", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t35.inf", 
        "Mode=HTML", 
        LAST);

Thanks,
Sandeep

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunner+unsubscribe@googlegroups.com.
To post to this group, send email to LR-Loa...@googlegroups.com.
Visit this group at https://groups.google.com/group/LR-LoadRunner.
To view this discussion on the web visit https://groups.google.com/d/msgid/LR-LoadRunner/bf3bfc53-ee2e-4ec3-b8e2-b98f2c1e177e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

André Luyer

unread,
Dec 11, 2017, 12:32:34 PM12/11/17
to LoadRunner
The UUID is just a part of the multipart boundary. You can change that in whatever you want or leave it as it is now (constant).

For the GUID; look for it in the 'code generation' log or ask a developer how to correlate or generate it.

André


On Wednesday, 6 December 2017 16:01:14 UTC+1, sandy wrote:
Hi All,

Below is the sample code. I am trying to correlate UUID and DocumentumGUID value. When I try to search for these values in Code generation Log, I am able to capture on the same request. Can someone help me how to correlates these values .

web_custom_request("ScanClientApi_26", 
        "URL=https://SAMple/server/ScanClientApi", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=multipart/related", 
        "Referer=", 
        "Snapshot=t34.inf", 
        "Mode=HTML", 
        "EncType=multipart/related;start=\"<rootpart*d42cbe76-4892-4f65-becc-cedafc...@example.jaxws.sun.com>\";type=\"application/xop+xml\";boundary=\"uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d\";start-info=\"text/xml\"", 

        "Body=--uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d\r\nContent-Id: <rootpart*d42cbe76-4892-4f65-becc-cedafcf2bb9d@example.jaxws.sun.com>\r\nContent-Type: application/xop+xml;charset=utf-8;type=\"text/xml\"\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\" ?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns3:clientHeartBeat xmlns:ns3=\"http://imagetrust.com/scanserver/clientapi\" xmlns:xmime=\"http://www.w3.org/2005/05/xmlmime\"></ns3:clientHeartBeat></S"
        ":Body></S:Envelope>\r\n--uuid:d42cbe76-4892-4f65-becc-cedafcf2bb9d--", 
        LAST);

    web_url("AuditDB.jsp", 
        "URL=https://Sample/server/cosd/AuditDB.jsp?KEY={KEY}&DOCUMENTGUID=E27297A2-D919-11E7-93FE-A0D3C1068460&BATCHGUID=E27297A0-D919-11E7-93FE-A0D3C1068460&SERVERNAME={SERVERNAME}&SCANOPERATOR=ADMIN&DOCTYPEID={DOCTYPEID}&IDENTIFIER={P_CASENUMBER}&IAPROCESS=FRC", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t35.inf", 
        "Mode=HTML", 
        LAST);

Thanks,
Sandeep
Reply all
Reply to author
Forward
0 new messages