Facing issue in Load Runner - performance-testing

I am new to load runner tool.I have to perform load testing for payment gateways. When I record the script using HP Load Runner the script is recorded successfully. When i replay the same script to check whether script is passed or not. Then, script does not show any error.So,i started giving load on the same script then for the payment the entry which i am getting in transaction list in "Awaiting" and when i do manually payment the entry i get is "Completed".So, according to the "Awaiting" status payment is not done successfully.

I am new to load runner tool.
Have you had training in the tool?
Have you been provided a mentor for a period of time until you are proficient with the tool?
Has your management refused you access to either of the two previous items?

Related

Getting Run ID of Manually Invoked GitHub Workflow Using REST API

I am writing an automation routine that will include manually running a GitHub Workflow. I need to monitor the status of the workflow and download the logs once it’s finished.
Everything is fairly straightforward. The only missing link in the chain is how to determine the run ID for the workflow that I just invoked. There is no information that comes back from the REST API call (/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches endpoint) in either the body or the headers that gives me that information.
How can I determine what the run ID is for the workflow when it is invoked?

Is there a way to read Chrome browser alerts in Selenium Webdriver?

Currently developing a checkout script and on the final stage a Chrome alert appears within the Webdriver like here: https://i.stack.imgur.com/tPyT4.png
I need to be able to read what that message says to determine if the payment was successful, if so I need to be able to terminate all other instances of script I plan to run from a batch file, and print that payment was successful. Or if payment decline or gateway is rejected as shown above, I need to be able to print that it was declined or that there was a gateway rejection.
Thank you:)
Have you try
driver.switchTo().alert()
One you have switched, something like
driver.getPageSource() should work

Show Map/Reduce script error on a SuiteLet

I have created a Suitelet which runs a Map Reduce script when user Submits it.
I am able to show messages such as Completed, Failed or In Progress using task.checkStatus(taskId).
Is there anyway that I can also show the MR erros in UI, in case that M/R fails?
Probably I could use Custom Records to create the errors and then show them (too havy) or send the errors via email. But if there is a way I would prefer showing them directly to the user.
Any ideas, suggestions?
Thanks.
A couple of ways to do this:
Log the errors normally.
Periodically while the m/r is running run a search on the script logs filtering the results on the script and deployment.
Accumulate the errors and create a summarize phase in the m/r and email the results to the person who ran the m/r. Netsuite’s example m/r has a hint about how to do that

Unable to Load a document into Docusign

We are using docusign for more than 3 years, We have several demo accounts as well as we have paid account too.
we are using the following docusign rest service
https://demo.docusign.net/restapi/v2/accounts/*****/envelopes
In our local environment we are using the above demo rest service, Till last month (August) we were able to post the document into docusign without any issues. The Problem now is that we are not able to post a document to docusign.
we getting the exception like
"errorCode": "UNABLE_TO_LOAD_DOCUMENT", "message": "Unable to load the document. Unable to load Document(1;CONSENT FORM). Error: Cannot add the widget (connected to field: ColombiaCurrentlyresideYes) to page -1, because it's already added to page -1. If you want to re-use this widget, please remove it from the current page first
Same data worked till last month (August) and it's working fine now in docusign production account(paid). we are not sure what went wrong in demo accounts. Any release are done in demo accounts?
I tired using the same template in web console too, same error throws in browser console
Please help me to resolve this issues.
We require your guidance regarding this issue!
I suggest first trying to load the documents into an envelope by using the DocuSign Web tool (NDSE). If that doesn't work then the document is the issue.
Has the document changed?
Re changes: Yes, the demo system is changed each month. Then the changes are applied to the production systems. While we do have thousands of automatic regression tests, problem can creep through the system.
I suggest you contact DocuSign customer support to give them the document which is failing to load.

Implementing logging and retry mechanism in netsuite suitescripts

I am in need of a way to implement the error logging and providing a way to the admins to rtry any failure that occurs within a suitescript.
Here are my thoughts on the implementation:
Lets say for restlet i can log the datain, or the incoming data in any userevent script in a text file along with its status as success or failure. Later have a scheduled script to process that text file that may send those errors to my .Net Api and I can provide a way for Admins to retry.
Could anyone suggest me how its normally done in netsuite projects?
For similar systems, I typically advise you create Custom Records. Your custom records can have a field to store the raw data (JSON, xml, etc) as well as a Status (Succeeded, Failed, Retry, etc). You could consider retry mechanisms like having a User Event on the Custom Record that immediately retries upon creation of the record, then if that fails have a Map/Reduce that runs on a regular schedule to clean things up.
If the native Execution Logs aren't providing enough functionality for you in that respect, you can add a Custom Record for "logging" as well, but I'd suggest trying to use the native logs first. The Script Execution Logs UI provides reasonable searching/filtering capabilities.

Resources