LoadRunner VuGen Script Replay Failing for Citrix Module Login - testing

I am using LoadRunner VuGen to record a test I would like to execute using a Citrix module. I am able to successfully record the actions but when I play the actions back, it stops at the following line of code:
ctrx_wait_for_event("LOGON", CTRX_LAST);
The Citrix ICA Client screen is displayed and it is waiting for the Username, Password, and Domain to be entered by I am unable to manually enter the information in and after a couple a seconds it fails. When I initially record my actions, I am logging into Citrix via a web URL. But when I play back the actions it goes directly to the Citrix ICA Client screen without ever opening the URL.

This is Citrix application where Logging into the Citrix Desktop is taking too much time than the parameterized hence throwing the TimeOut Error.
In the error if the IP address is also mentioned, then it is usually is a citrix connectivity/network connectivity issue.
We had a similar error without any IP address, we did the following which resolved the issue:
Check if there are any active citrix sessions, if yes clear/terminate all the sessions. Then run the VuGen script from VuGen and dont try manually
Upgrade the ICA client if it is older than 13, we are using 14.x version

Related

Issue with running SSRS reports in Google Chrome

I have been building some new reports and hosting them in our SQL Server 2017 db and the current version of SSRS. However I am having an issue when running them from a laptop in Chrome in that they start to run and take a long time to complete. But if I run the same report in MS report builder from the same laptop it runs fine. It also runs fine in IE 11 and also in Chrome if I open it in an Incognito window. In case it is relevant the report has 3 parameters a Start and End date and a multi value parameter for the products we sell. Also the report uses a saved database account to connect to the datasource rather than needing to try and pass through the users network credentials.
If I open it on my Admin Terminal server it completely fine in Chrome without needing to do anything like use incognito mode. I even wondered if it was down to me being logged into a Google account in Chrome on my laptop but not being logged into one on the Terminal Server. But after logging into the same Google account on the terminal server the report still runs fine.
The authentication seems to be work fine as I can get onto the report portal without the need to manually enter my credentials and I can also navigate around the folders and reports and administer permissions and create subscriptions etc.

Azure DevOps VSTest,Site Currently unavailable message and times out despite being up

Currently using Selenium + ChromeDriver to execute automated functional tests through Azure DevOps VsTest task but whenever the task tries to execute tests pointing to a website in NetCore, it times out very quickly and sometimes (a lot of times) I get the standard error message from the registered screenshot on error of "This site can't be reached".
I tried running this locally and pointing to the same website but this issue doesn't seem to happen at all and I've got no clue on what's going on due to the big inconsistency between the results that the VsTest task provides.
I also tried opening Chrome on the machine that executes the task but it seems to open the URL fine there.
One thing to note is that the website I'm using uses Windows Authentication mechanism and I'm sending my credentials directly through the URL with https:\\credentialuserexample1:credentialpassexample2#thewebsiteaddress.com and it seems to open the page without issue there too.

Phantomjs - Silent Browser

I was using Phantomjs driver for execution of my Application test scenario.
In the Recent update, they have implemented individual certificates to each machines, so once I enter my application URL and hit enter_key, the URL is redirected to an internal server and I need to provide the Userid and Password to Log in.
This Scenario works well in chromedriver but when i'm using phantomjs, the elements are not getting recognized.
I tried to take the screenshots but only blank image came in the screenshot.

Selenium / Protractor not able to run browser tests (E2E) if the user running it is not interactively logged-in

We have a Continuous Integration agent that runs with the identity of a non-logged-in user (non interactive) - i.e. the agent does work with sufficient Windows user credentials, but no user is "physically" logged-in to Windows and the agent run as a scheduled task with sufficient privileges.
The problem is that under these circumstances Selenium is not able to open a browser to actually run browser tests.
What could be the solution?
This guide just briefly mentions how to configure the Windows user to be able to run a browser with a non-logged-in user (using control userpasswords2) but that advice doesn't work.
To clarify, this problem is not specific to the Bamboo CI agent (referred to in the above link). It's common to all scenarios where Selenium running on behalf of a non-logged-in user would try to run a browser.
You need to have an interactive session to interact with. I believe this question on SuperUser Run interactive task even if user is not logged on Windows as well as the instructions from Atlassian you linked are the correct answer.
Once the user is set to auto-login, you need to reboot the system to cause that auto-login to occur. The recommendation in the linked question of forcing a lock after the login is a good one for security, but still provides an interactive session for the CI/Selenium to work against and without running under System with limitless privileges.
If this does not fix your problem after following all the directions and rebooting, and you have verified that the user is in-fact logged in at the time you run the CI/Selenium (typically you can check this with Remote Desktop and looking at that logged in user for the console session in Task Manager > Users tab), then there is most likely a different problem.

Lotus Notes Traveler server did not respond within the allotted time frame

I have Lotus Notes Traveler 8.5.3.200 Build 201411031333 running on Lotus Domino server Release 8.5.3FP6 November 21, 2013 on a Windows/64 (2 Processors) platform This server is dedicated for Traveler only, no other addons like Sametime or other is installed on this pc.
Problem is When I access Traveler via mobile or browser, it usually gives me following error (sometimes after succesfull login and sometimes always)
Lotus Notes Traveler server did not respond within the allotted time frame.
and on Server I can see errors like following
JVM: Traveler: Lotus Traveler task did not respond within the allotted time frame (55,000 milliseconds) for action GET and operation key
It happens very frequently, So far I have tried various suggestions available on the different forums example:
Started Traveler with Defrag ...
Added the following lines to the Notes.ini to bind the ip (as suggested at some blog)
NTS_IPC_TCP_Port=50125,192.168.1.1
NTS_IPC_TCP_Port2=50126,192.168.1.1
Added the following line to the servlet.properties file (in Server Data folder). (as suggested at some blog)
Text
ntstimeoutsyncas=230000
But no use still getting errors and timeout frequently.The server is for Local LAN connected users which are directly connected on same subnet without any firewall, also it is serving external internet base mobile users as well. Sometimes the page opens perfectly without delay, but most of time it gives timeout error. when there is timeout error, all mobile devices are unable to synch. After few retries they somehow manage to sync sometime.
I have disabled the Symantec Antivirus and backup exec agent as well but no use.
The real problem comes when I have to register new device by visiting traveler portal like http://traveler_server/traveler and it gives time out several times :(
When i restart the traveler server, it works fine for few minutes, then it starts making problem.
this is traveler status command output
[0230:07A9-0C3C] There have been 9 device sync failures for reasons other than the server is too busy.
[0230:07A9-0C3C] The overall status of Lotus Notes Traveler is Yellow.
its green when i restart the server, but then goes to yellow after few minutes.
Run the following command's from the Domino console:
Tell HTTP Quit
Tell Traveler Quit
Load Traveler -defrag