Quantcast
Viewing all 12134 articles
Browse latest View live

need help on Vugen "Error: C interpreter run time error: Error -- Unresolved symbol : soap_request"

I am running a simple script that use Web Service protocol in Vugen. I used the "soap_request" call and with the input from <soapenv:Body> which I obtained when call the web service using SOAPUI.

 

It is something like this:

 

web_set_timeout( "STEP", "180" );

    lr_start_transaction("HDD_IF_getUniqueNcidByRep");
    
    soap_request("StepName=getUniqueNcidByRep",
    "URL={pEndPoint}",
        "SOAPEnvelop="
        "<soapenv:Envelope xmlns:soapenv=\">"   \\ the entire soap envolop goes here
    "<soapenv:Header/>"
    "<soapenv:Body>"
    "<ser:getUniqueNcidByRep>"
    "<representation>Female</representation>"
    "<domainNcid>1209</domainNcid>"
    "contextNcid>2000</contextNcid>"
    "<dbEnv>tst</dbEnv>"
    "<withSolr>false</withSolr>"
    "</ser:getUniqueNcidByRep>"
    "</soapenv:Body>"
    "</soapenv:Envelope>",
    "Snapshot=t1345500708.inf",    
    "ResponseParam=response",
    LAST);
    
        
    lr_end_transaction("HDD_IF_getUniqueNcidByRep", LR_AUTO);

 

I am getting this error:    

 

Action.c(20): Error: C interpreter run time error: Action.c (20):  Error -- Unresolved symbol : soap_request.

 

Could someone help me understand what went wrong in the script?

 

Thanks much!

Matt


Need help with Vugen “Error:The WSDL file "" has an error. (Working copy for / does not exist.)

This is related to my other post “need help with Vugen Error: C interpreter run time error: Error -- Unresolved symbol”

I am running a simple script that use Web Service protocol in Vugen. I this time used the " web_service_call " with the input from <soapenv:Body> which I obtained when call the web service using SOAPUI.

 It is something like this:

 web_set_timeout( "STEP", "180" );

    lr_start_transaction("HDD_IF_getUniqueRepByNcid");

    web_service_call( "StepName=getUniqueRepByNcid_101",
        "SOAPMethod=InterfaceService|InterfaceServicePort|getUniqueRepByNcid", 

"ResponseParam=response",
        "Service=InterfaceService",
        "URL={pEndPoint}",
        "ExpectedResponse=SoapResult",
        "Snapshot=t1352907820.inf",
        BEGIN_ARGUMENTS,

"xml:getUniqueRepByNcid="
    
//    "<ser:getUniqueRepByNcid="
    "<ncid>17294</ncid>"
    "<contextNcid>2000</contextNcid>"
    "<dbEnv>tst</dbEnv>"
    "<withSolr>false</withSolr>",

        END_ARGUMENTS,
        BEGIN_RESULT,
        END_RESULT,
        LAST);

    lr_end_transaction("HDD_IF_getUniqueRepByNcid", LR_AUTO);

I am getting this error:    

 getUniqueRepByNcid.c(19): Error:The WSDL file "" has an error. (Working copy for / does not exist.)

Could someone help me resolve this problem?

Thanks much!

Re: Loadrunner 12 .dll problems

Hi,

 

What protocol do you use to record the script?

Do you get any other error or warning in Event View of LR machine while recording the script? 

Please check some points as below is implemented in LoadRunner machine:

- UAC is disabled : http://support.openview.hp.com/selfsolve/document/KM00598473

- DEP is disabled: http://support.openview.hp.com/selfsolve/document/KM747283

- Firewall, antivirus is disabled.

Please refer the above document to fully disable them and try to record again.

 

 

Regards,

Chau

Re: Preventing (or Removing) Unnecessary Tags from Soap Request

Please try to add ExcludeWseHeaders in default.cfg to remove these headers:
1. Open default.cfg in folder of script
2. Add ExcludeWseHeaders=1 in [WebServices] section, it looks like this:

 

[WebServices]
Toolkit=.Net
ExcludeWseHeaders=1

3. Replay script again

Thanks,
Phuong Nguyen
From HP LR Team

Re: need help on Vugen "Error: C interpreter run time error: Error -- Unresolved symbol : soap_

Hi,

 

Please provide the LoadRunner version and could you share the script with full extended log?

 

Thanks and Regards,

Chau

Re: Need help with Vugen “Error:The WSDL file "" has an error. (Working copy for / does no

Re: Loadrunner 12 .dll problems

Hi Chau,

 

Thanks for the reply.

 

Using HTTP/HTML protocol to record.

 

Don't get any other errors as it just crashes as soon as the URL is entered, so no recording is actually done.

 

Re: Loadrunner 12 .dll problems

Hi,

 

Thanks for your information.

 

Could you please check UAC, DEP and antivirus are disable fully on LoadRunner machine or not?

Please follow the shared document to disable them.

 

Regards,

Chau


Re: Loadrunner 12 .dll problems

We're unable to fully disable antivirus as it's a requirement in the environment we are working in. But I'll check the rest.

I don't see why this would cause a problem with .dll's though?

Unable to upload file while executing scenario from Load Runner Controller

Hi,

I have created a VUGen script which is uploading a .xls file in the application. I have tried placing the file in "c:" drive and on the network path and both work fine from Vugen. After that I uploaded the VUGen test to ALM using the "All Files Mode" and then created a Controller scenario using the script from ALM. Now when I an running this scenario from Controller I am getting errors on the "web_submit_data" statement which is uploading the file.
The errors are:
1)Action.c(53): Error -26499: Internal Error - Pending in-function resources (EXTRARES) have not been handled (detected in fvLrwScriptApiCleanupUnhandledRemnants)
2)Action.c(53): Error -26488: Could not obtain information about submitted file "c:\CartUpload.xls": _stat32 rc=-1, errno=2 [No such file or directory]. Using an empty file

The upload file is kept at the same location on the controller system as well.

I am using Load Runner 11.52. Controller is installed on Windows Server 2008 machine.
Thanks for helping.

 

Re: Loadrunner 12 .dll problems

Re: Unable to upload file while executing scenario from Load Runner Controller

Hi vmanolova,

 

Thanks for the response.

I am not using the controller as a load generator. So if I am uploading it from "c:" drive then I should put the file on all the load generators. But I am getting the same error even when I am uploading it from a shared location which is accessible from all the load generators.

Re: Loadrunner 12 .dll problems

Hi,

 

Please refer the support matrix document of LoadRunner 12. It mentioned some information about McAfee. We should close it before installing LoadRunner. It might impact to LoadRunner working.

 

Regards,

Chau

Re: Unable to upload file while executing scenario from Load Runner Controller

Hi,

 

It is not recommended to use a shared drive in this case as it will lead to additional network communication and some delays.

However if you need to use a shared drive you should map it using the same letter for all load generators for example 'F'.

Please change the VuGen script accordingly and check if it is working from VuGen first.

 

Please also review the following document:

http://support.openview.hp.com/selfsolve/document/KM172874

 

Kind regards,

Re: Unable to upload file while executing scenario from Load Runner Controller

Thanks a ton man, it worked.

Although it didn't work after mapping a network drive with the shared path, it still gave the same error.

Then I copied the file in c: drives of every load generator and it worked.


Re: Abnormal big number of user session generated when running script under vuser

Hi,

 

Where did you place the function to terminate SAP session in the script? Action or Vuser_end?

When run in Controller, you run the script with number of vusers: 'untill completion' or 'duration'?

Load generator run as process or thread? Please confirm.

 

Thanks and Regards,

Chau

Re: Abnormal big number of user session generated when running script under vuser

Hi, Chau.

 

Here is the option I put in:

Image may be NSFW.
Clik here to view.
test.png

 

Image may be NSFW.
Clik here to view.
test2.png

 

Do you see an issue?

Thanks,

Jonathan.

 

Re: Abnormal big number of user session generated when running script under vuser

By the way, on the run-time settings, I deselect the "simulate a new user on each iteration" and it did not fix the problem.

Thanks,

Jonathan.

 

LoadRunner design pane disabled by popup dialog

When recording an application it opens a new browser window with a dialog. The new window is modal, so the TruClient design pane and main application window are behind it. Mouse-over and right-clicks are detected in the TruClient pane, but left-click is not.

 

I can click and bring up menus in the TruClient pane, but clicks on menu items are ignored. So I cannot, for example, start recording when the dialog is up. Debugging also gets very difficult since I cannot use the TruClient design pane while a dialog is displayed.

 

Is there a trick to this? It cannot be an uncommon problem... Attached is a screen shot - the context menu appears on right-click of a step, mouse-over hilights the menu items, but clicks are ignored (the menu stays open and does not run the selected function). Clicks on the record, play, and other buttons are also ignored.

 

Using FireFox 30.0.

Re: TC_FF: evalXPath will not evaluate variable inside of for loop

So, what youre saying is:

 

1. Set up a for loop *which uses a perfectly accessible variable*

2. Instantiate a LoadRunner parameter

3. Set that parameter to 1

4. Perform the steps

5. Increment the parameter manually

6. Finish the loop

 

Is that what we are saying here?

Viewing all 12134 articles
Browse latest View live


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