How to check what LoadRunner Controller is currently doing?[TruClient] - performance-testing

I have a script which was developed using TruClient for a web application. When I'am going through this test manually everything is working fine. When I'am doing the same test using TruClient in Virtual User Generator everything is fine as well(automated script is written properly).
The problem starts when I'm using LoadRunner Controller. From specified moment all the tests are failed(circa after 40 passed iterations/10 Vusers).
My question is: is there any possibility to check what was wrong on the website? Maybe take some screenshots or something?
(Controller 12.02.0.0 Build 1258)

Not sure if you know about this, but this is where I debug TruClient (and all) scripts which are running in Controller mode.
1) Goto the "Run" tab
2) Double click on the group of the user you want to look at.
3) Right click on the user you want to look at (some could be running or failed)
4) Select "Show User Log"
This will show the console output of the script so will show you then a step starts or finishes, and any LR.log statements you have scripts.
You can enable get screenshots on error (I think it may be enabled by default) in the run-time settings, but I haven't had any luck with the option in there to get a screenshot of every step.
If you restart a user then your logs will be overwritten.

Related

Issue in running a client script in NetSuite suitescript 2.0

I have a client script in NetSuite 2.0 which is already running ,but if I am making any changes to it, the new changes are not getting reflected the script is still running with the old code.
Even if I try to add single log.debug it is not getting reflected when the script is running.
There are a couple of things to check:
first thing is if you are running in the UI then your browser probably cached the script so a ctrl-F5 to reload the page should fix things.
second you may not be updating the correct file. If you navigate to the script definition you can open the code directly and verify your changes are there.

Blueprism Application Modeller showing Launch instead of Identify when spying

I am using BluePrism v6.1.0 and I am trying to identify elements from a launched application in Application Modeller. (I used the Windows application type in the modeler configuration)
From some tutorials I saw, the launch button changes to Identify button after the app is launched, however, mine is still showing "Launch". Please see screenshot below
screenshot
You need to launch the application from the application modeller, not on your own.
Since you are using Windows 10, the built in applications are use differently than normal in windows 7. Here is how you can add the code to make it work with your system Screenshot. Also for future applications use this code in Windows Power Shell to get information about the application you wanted to work with in Window 10 : "Get-AppxPackage"
Not fully explained here but this can also mean not only is the app not launched but blueprism can't "see" the app is launched. Two ways to solve this so close the application and relaunch it then it will change to identify, OR you can attach the current instance of the object to the running application.
Either way the outcome is you're making blueprism see the active application so it will change the launch to an identify option.
Edit: watch out as well, if you connect your application to blue prism and then detach it blue prism will no longer see the running application hence will revert the identify option into a launch option.

Suitescript2 alert on ini

Is it possible that suitescript 2 is not enable ?
I have the most simple script, that show an alert but it doesn't popup
Possible ?
Thanks
P.s. i'm willing to pay for thid
I assume you enabled SuiteScript options in Check Setup > Company > Setup Tasks > Enable Features > SuiteCloud.
Make sure you deployed your script accordingly . Make sure there are no error in script execution log.
To make sure suitescript is working fine in Netsuite , you can write a simple suitelet and test it in script debugger. ( Customization > Scripting > Script Debugger).
The only thing I can see would be if you do not have SuiteScript enabled on your instance. Check Setup > Company > Setup Tasks > Enable Features > SuiteCloud, and ensure that the SuiteScript options are enabled.
Aside from that, post some of your code, and/or any errors that you are seeing in the script execution log or the page that you are running the code on.
Finally I found the problem but I don't have a solution yet. I called netsuite and they said it's a known defect but I don't think so. I'm sure we are not the first one in the history.
We need to add a script to the customer record.
We found out that SalesForce added an Users Event Script.
I'm writing a Client Script, thus the conclusion from Netsuite is that you can't have a User Even Scrip and a Client Script, thus the reason it's not working.
Again I still CAN'T believe it
Any help is appreciated
I "think" I found the problem. The event script is written in SS1 and what I'm doing is SS2.
I have moved my code back to SS1 and it's working.
I know it makes no sense but it's working

Cannot debug Sharepoint application using non system account user?

I am using WSPBuilder to develop Sharepoint2007 sites, whenever i try to debug using one of the users that are not System Account, the debugger enters to the breakpoint and waits a step (F10), when i press F10, i get the following exception in the debug output window after pressing F10 on the line having the breakpoint:
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in XXX.dll
An exception of type 'System.Threading.ThreadAbortException'occurred in XXX.dll
but was not handled in user code The thread '<No Name>' (0xfc4) has exited with
code 0 (0x0).
and i am redirected to a page of sharepoint saying:
Go back to site
Error: Access Denied
Current User
You are currently signed in as: SHAREPOINT\ZZZ
Sign in as a different user
When i try to RUN not to DEBUG with the same user, I don't have this problem.
Also when i try to debug using the System Account (MOSS ADMIN), I don't have this problem ?
How to overcome this problem ?
BTW, i am trying to debug a custom ASPX/CS page installed as a feature on the site.
FYI, it's only for this project not for all projects i have, also it's for all pages in this project not only one page.
For those who are interested, I found the solution:
I created a new project and copied my files to it (of course with recreating features), now it works fine. That means that the project itself is the problem not the IDE, perhaps some of its file are corrupted !
You might want to try and add the user SharePoint\zzz to the WSS_WPG and WSS_Admin groups to see if that gets you around the issue. I assume you are doing the debugging on a single, stand alone install so you could also try and make SharePoint\zzz and administrator.

Launching a web page in a different process

I want to launch the browser in a different process when a particular link is clicked on the page. When I checked the net I found the following tip: http://www.dslreports.com/faq/3849 . But there we have to change the registry. Is there any simple way of doing this without touching the registry?
If you use the Google Chrome browser, each new window or tab runs in a separate process. Internet Explorer version 8 will do the same (it's currently in the second beta round).
Earlier versions of IE will run a new window in a separate process if it is launched from, say, the Start menu or the command line, or a link in an email (but not by clicking a link within IE). I imagine you could create a proxy that the client would run through, which would intercept the links you care about and launch them by running a command line request. That seems like more trouble than mucking with the registry though (assuming that registry change still works -- looks like your link is from 2002).
I don't believe this is possible unless you change the client computer setup or software it's running.
Why do you want to do this?

Resources