Thank you for the reply! But I am getting this issue while replaying through Truesight AVM Tea agents. In that case, how to avoid this issue from occurring on tea-agent servers while replaying?
↧
Forum Post: RE: How to import certificates into silk performer 18.0?
↧
Forum Post: RE: How to import certificates into silk performer 18.0?
You should appropriate configure IE on each computer where TEA Agent installed.
↧
↧
Forum Post: RE: Assignment of Load to agents has failed because at least one of the load agents is locked , unavailable, or has insufficient privileges
Hi Abhishek. Can you try changing your 'Assignment type' from Dynamic to Static and ensure you are not assigning more Vuser to an Agent that it has capacity for. You should also take about your Agent % utilization as it will reduce the number of Vuser an Agent can take before reporting this warning. Hope this helps, Best regards, Ciaran.
↧
Forum Post: SYSTEM: 267 - The directory name is invalid
Hi Team, I am trying to install Silk Performer agent remotely(SETTINGS || SYSTEM || AGENTS || ADD WAN AGENT || INSTALL AGENT) and each time i run the installer from I get the error message below: 2018-10-05 08:16:27 Info: Commandline was parsed successfully. 2018-10-05 08:16:27 Installdir: C:\Program Files (x86)\Silk\Silk Performer 18.5 2018-10-05 08:16:27 Info: Local launcher service path: C:\Program Files (x86)\Silk\Shared Files\SgLauncher 2018-10-05 08:16:27 Info: Try to connect to remote machine ..... this may take some time .... 2018-10-05 08:16:48 Info: Connected to remote machine. 2018-10-05 08:16:48 Path for temp service on remote machine: C:\windows\TEMP 2018-10-05 08:16:49 Info: Connected to temporary remote service. 2018-10-05 08:16:49 Info: Connected to remote machine. 2018-10-05 08:16:49 Info: Remote service version: 19.0.0.8013 2018-10-05 08:16:49 Info: Get remote service version was successful. 2018-10-05 08:16:49 Info: Authentication was successful. 2018-10-05 08:16:49 Info: Copied setup agent to remote machine. 2018-10-05 08:17:03 Info: Started setup agent on remote machine. 2018-10-05 08:17:03 Info: Disconnected from old or temporary service. 2018-10-05 08:17:06 Info: Connected to remote setup agent. 2018-10-05 08:17:06 Info: No Silk Performer 18.5 Controller detected on remote machine. 2018-10-05 08:17:06 Info: Temp service is running. 2018-10-05 08:18:06 Info: Removed temporary service. 2018-10-05 08:18:06 Info: Stopped temp service. 2018-10-05 08:18:06 Info: Installer package: C:\Program Files (x86)\Silk\Silk Performer 18.5\RSFiles\SPRemoteAgent.exe. 2018-10-05 08:18:11 Info: Copied Remote Agent Setup to remote machine. 2018-10-05 08:18:11 Info: Execute Remote Agent Setup on remote machine. 2018-10-05 08:18:11 Error: Could not install Remote Agent Setup on remote machine. 2018-10-05 08:18:11 Remote setup failed! SYSTEM: 267 - The directory name is invalid. I am not sure which directory is being referred to. Request you to please suggest. Thanks, Regards, Abhishek Pandey
↧
Wiki Page: Recommended Browser and Operating System Settings for Browser-Driven Testing
Several Internet Explorer browser settings are critical to maintaining stable test executions for Browser-Driven tests. Please note that it is not always required to change all of these settings for successful record/replay but you should try to use the recommended settings below if you have any issues. Internet Explorer Browser settings are located at Tools > Internet Options Internet Options - General Tab - Set IE home page to [about:blank] [ Minimizes start-up time of new tabs ] - Disable warning for closing multiple tabs [ Avoids unexpected dialog boxes ] - Enable switch to new tab when tabs are created [ Links that open new tabs may not otherwise replay correctly ] Internet Options - Privacy Tab - Disable pop-up blocker [ Ensures that your Website can open new windows ] Internet Options - Content Tab - Disable Auto Complete [ Avoids unexpected dialog boxes; avoids unexpected data input while typing ] Internet Options - Programs Tab - Only enable required add-ons [ Third-party add-ons may contain defects; third-party add-ons may be incompatible ] Internet Options - Advanced Tab - Section "Security" - Disable "Check for publisher's certificate revocation" [ Avoids problems when a revocation check cannot be completed ] - Disable "Check for server certificate revocation" [ Avoids problems when a revocation check cannot be completed ] - Disable "Warn about certificate address mismatch" [ Avoids certificate errors ] Compatibility View Settings - Disable “Display intranet sites in Compatibility View” - Disable “Use Microsoft compatibility lists” - Remove all added websites Disable IE Enhanced Security Configuration (on a Windows server operating system) - Computer-> Manage -> Configure IE ESC -> off - or "Server Manager" - Local Server - IE Enhanced Security Configuration - Off Internet Options - "Security" tab - For each zone (Internet, Local intranet, Trusted sites, restricted sites) - Disable "Enable Protected Mode ..." - Set the security level to the lowest possible
↧
↧
Forum Post: How silk performer captures user action time?
Hi, Just wondering how Silk Performer captures real-time user action. Let's say the user clicks on the login button then what are the things performer considers and captures time? I have seen "Browser-driven Measure" document. However, it's quite confusing to understand. It would be great if someone explains this situation. Thanks in advance!
↧
Wiki Page: Using ProcDump to generate a crash dump file (video)
ProcDump download link: http://technet.microsoft.com/en-us/sysinternals/dd996900 (Please visit the site to view this video) Transcript This video demonstrates how to use procdump to create a dump file that Support can use to troubleshoot a crash or an unhandled exception, for example. Procdump is a Windows Sysinternals Command Line utility and can be downloaded from the Microsoft Docs here. This is the download link, and a full list of command options can be found on the same page here. Procdump has already been downloaded to this machine and here I have opened the command line and changed the directory to the location where prodcump was saved. For the purpose of this demonstration, I will be forcing a process exit error to occur during the load test in Silk Performer. I will be creating a dump file for Silk Performer's PerfRun process for which the error was generated. To do this we enter the following command: procdump -ma -w perfrun.exe where Perfrun.exe process will change depending on the process for which the dump was required. Full details for other parameters used here can be found on the download page as discussed earlier. After entering the command you will see that it is waiting for the process to be started. Now we can open Silk Performer and start the test to wait on the issue occurring. After the test we can see the process exit error has occurred... After this issue has been reproduced, you can look in the command line window again and see that a dump file has been generated. We can also see the dump file location, which is the folder where procdump was saved. Browse to that location and you will find the dump file, which can be sent to Support for review. Using ProcDump usage: procdump [-64] [[-c|-cl CPU usage] [-u] [-s seconds]] [-n exceeds] [-e [1 [-b] [-f ] [-g]]] [-h] [-l] [-m|-ml commit usage] [-ma | -mp] [-o] [-p|-pl counter threshold] [-r] [-t] [-d ] [dump file] | -i | -x [arguments] >] [-? [ -e] -64 By default ProcDump will capture a 32-bit dump of a 32-bit process when running on 64-bit Windows. This option overrides to create a 64-bit dump. -b Treat debug breakpoints as exceptions (otherwise ignore them). -c CPU threshold at which to create a dump of the process. -cl CPU threshold below which to create a dump of the process. -d Invoke the minidump callback routine named MiniDumpCallbackRoutine of the specified DLL. -e Write a dump when the process encounters an unhandled exception. Include the 1 to create dump on first chance exceptions. -f Filter the first chance exceptions. Wildcards (*) are supported. To just display the names without dumping, use a blank ("") filter. -g Only capture native exceptions in a managed process (no interop). -h Write dump if process has a hung window (does not respond to window messages for at least 5 seconds). -i Install ProcDump as the AeDebug postmortem debugger. Only -ma, -mp and -d are supported as options. -l Display the debug string logging of the process. -m Memory commit threshold in MB at which to create a dump of the process. -ma Write a dump file with all process memory. The default dump format only includes thread and handle information. -ml Trigger when memory commit drops below specified MB value. -mp Write a dump file with thread and handle information, and all read/write process memory. To minimize dump size, memory areas larger than 512MB are searched for, and if found, the largest area is excluded. A memory area is the collection of same sized memory allocation areas. The removal of this (cache) memory reduces Exchange and SQL Server dumps by over 90%. -n Number of dumps to write before exiting. -o Overwrite an existing dump file. -p Trigger on the specified performance counter when the threshold is exceeded. Note: to specify a process counter when there are multiple instances of the process running, use the process ID with the following syntax: "\Process( _ )\counter" -pl Trigger when performance counter falls below the specified value. -r Reflect (clone) the process for the dump to minimize the time the process is suspended (Windows 7 and higher only). -s Consecutive seconds before dump is written (default is 10). -t Write a dump when the process terminates. -u Treat CPU usage relative to a single core. -w Wait for the specified process to launch if it's not running. -x Launch the specified image with optional arguments. If it is a Modern Application or Package, ProcDump will start on the next activation (only). -? Use -? -e to see example command lines. If you omit the dump file name, it defaults to _ .dmp.
↧
Comment on On replay why am I getting an error "HTTP: 1014 - WWW-Authenticate header is missing but status code was 401., RespHdrGetHdr " ?
hank you, this can really solve the certain issues on Window Server. When you can get certain error problem in your Dell laptop you can visit Error Code 0xc000000f www.delltechsupportnumbers.com/.../ the link they can professional and technician that can solve your all error issue in dell laptop as quick as possible.
↧
Comment on What is the structure of the Results Repository?
The links to all images on this page are broken: community.microfocus.com/.../what-is-the-structure-of-the-results-repository eg: files.microfocus.com/.../30421.bmp
↧
↧
Forum Post: Controlling script execution for browser dialogs (BrowserWaitForDlg?)
Is there a way to tell Silk Performer to wait for a dialog box to appear? I find myself working in a rich web environment with quite a few spawned dialogs that I have to test for and work around.
↧
Forum Post: RE: Controlling script execution for browser dialogs (BrowserWaitForDlg?)
This is the most common way I know of to wait/sync on objects. Replace locator with what you are waiting for and replace other code to exit after some timeout period etc. while (BrowserFind(HANDLE_DESKTOP , " //DIV[@textContents='Processing request.'] ", false, 0, true) <> HANDLE_INVALID) do wait(5.0); // ThinkTime(10.0, OPT_THINKTIME_FORCEEXACT); MAX_WAIT_MINUTES) then RaiseError(0, " ... took too long - aborting after waiting " + STRING(MAX_WAIT_MINUTES) + " minutes", SEVERITY_TRANS_EXIT ); end; end;
↧
Forum Post: RE: Controlling script execution for browser dialogs (BrowserWaitForDlg?)
Hemmm, just realized that you may be syncing on something more complex - but general approach may work?
↧
Forum Post: RE: Controlling script execution for browser dialogs (BrowserWaitForDlg?)
Hi David The type of dialogs these dlg functions relate to are normally generated client side (file chooser, alerts, ok button for example) and usually they are immediate as long as the machine isn't running really slowly. For other types of dialogs like new windows or popups, SP should sync these automatically provided it can detect the traffic and events that it performs sync on, although there are circumstances where this doesn't work and manual sync is required. In such a scenario Don's advice is correct.
↧
↧
Forum Post: RE: Controlling script execution for browser dialogs (BrowserWaitForDlg?)
Excellent, thanks Don!
↧
Wiki Page: Getting Started with Silk Performer
Thank you for trying out Silk Performer! Installing Silk Performer is quick and easy, and you’ll soon discover that setting up and running your first load test is just as simple. After you have downloaded Silk Performer, double-click SilkPerformer.exe . Follow the setup wizard and confirm all default settings by clicking either Next or OK on each dialog. After clicking Install on the Installation Summary dialog, wait for setup to install Silk Performer until you reach the Licensing dialog. On the Licensing dialog, keep the default setting ( Evaluation ), then continue to complete the installation. The Evaluation version grants you full product functionality for 45 days. You can test all technologies supported by Silk Performer with up to 10 virtual users. Now that you’ve installed Silk Performer, it's time to explore its comprehensive functionality. You can find a variety of helpful tutorial videos on the Micro Focus Software Delivery & Testing YouTube channel. Take a look at the Silk Performer playlist to learn more about Silk Performer's functionality. You can easily create your own web load test by following the Web Load Testing Tutorial, which guides you through a full load testing workflow from recording a business transaction to results analysis. This tutorial can be found on the Silk Performer Documentation web page. Silk Performer offers far more than simple web application load testing of course. If you’re interested what else Silk Performer can do, or you want to test other application types, check out the featured resources and getting started tutorials on Silk Performer’s Start Page. All tutorials and supplemental documentation can also be accessed through the start menu:
↧
Comment on Including server-side measures like CPU utilization in the Overview Report
I get empty .tds file every time I record the measures. The response is (RT: 75 - Custom error, Unable to establish the connection, errorcode: 6) when trying to monitor a Linux server using SSH.
↧
Comment on Including server-side measures like CPU utilization in the Overview Report
I am trying to monitor a Linux server using SSH but I always get this error (RT: 75 - Custom error, Unable to establish the connection, errorcode: 6). I am not sure if I'm using the correct data source. need help on this.
↧
↧
Blog Post: Released: Silk Performer 19.5
Micro Focus proudly announces: Silk Performer 19.5 is released! If you already use Silk Performer and you have a maintenance contract, you can upgrade to Silk Performer 19.5 for free. Silk Performer is the one stop performance testing tool, which takes pressure from you by adding load to your application. Silk Performer allows you to create realistic load tests with up to hundreds of thousands of virtual users running across a broad range of enterprise application environments, including mobile and the latest web 2.0 technologies. Silk Performer introduces significant enhancements with version 19.5. Here's an overview of the feature highlights: Feature Highlights Web Testing Innovations Silk Performer is now capable of converting .har files into capture files, which is an alternative the conventional recording approach. When you import an .har file into the Workbench, Silk Performer automatically converts it to a .spcap file and displays the Capture File page, which you can use to tweak the script generation process by applying filters, adding recording rules, and more. You can now configure the post data length: When generating a script from a capture file, post data fragments exceeding 2000 bytes are stored in postbody.data files. In the profile settings, you can now configure this post data threshold. When the data length is below the defined threshold, the data is written to the script during script generation. When the data length exceeds the threshold, the data is stored in a separate postbody.data file. The time to interact (TTI) has turned out to be the best way of measuring the response time of user interactions with modern web applications. The TTI metric can not only be measured for actions that trigger browser navigation. It can now also be applied to measure actions that trigger asynchronous requests using JavaScript and even actions that do not produce any network activity. Jenkins Plugin Enhancements The Silk Performer plugin for the continuous integration tool Jenkins has received a major upgrade and now provides a number of new features. It lets you automate Silk Performer projects, collect results, and evaluate success conditions. Here are the enhancements in more detail: Support for Jenkins agents : You can now execute jobs on Jenkins agents, which allows you to use different configurations (in the form of differently configured machines) for your load tests. Performance levels as success criteria : The new Silk performer Jenkins plugin provides two options to evaluate whether a job was completed successfully: You can either define success criteria directly within the Jenkins job configuration interface. Or you can configure to use the performance levels defined within the Silk Performer project. Overview Report with Jenkins : You can now access the HTML Overview Report directly from within Jenkins with just one click. Also, you can access all artifacts Silk Performer generated during a load test execution from within Jenkins. Customizable trend chart : You can have Jenkins create trend charts to get quick performance feedback of measures you are interested in. The charts can be customized to display any metric of the completed load test. The chart shows the specified metric for the latest execution and the executions before that. Support for source control systems : The plugin lets you link your job to a source control system. As a result, the job can automatically check out your Silk Performer project and all related files from your source control system and then execute the load test. Available through Jenkins : The new Silk Performer Jenkins plugin is available through the central Jenkins plugin repository. More information on how to set up the plugin is available through the Jenkins wiki. Editor Enhancements Silk Performer 19.5 provides a preview of the brand-new Workbench editor, which offers everything you would expect from a state-of-the-art editor, like line numbering, code folding, advanced syntax highlighting, zooming, or code completion. The new editor will be fully supported in an upcoming release, but you can already preview and test it. To activate the new editor, open a file browser, navigate to the Silk Performer installation directory, open the file performer.xml in a text editor (in elevated mode) and set the parameter EnableAdvancedEditor to true . Then start the Workbench and open a script. Note that this is a beta version of the new editor - it is not yet fully localized and might evoke unexpected behavior. In such a case, return to the old editor. Also, various features are not yet supported, like the wizards for adding transactions and functions. Java-related Enhancements A typical Silk Performer installation includes a Java Runtime Environment. The JRE is required for several components and processes, for example for the installation itself and for Java Explorer. It is also in the search path for projects that require a JRE. With Silk Performer 19.5 the JRE from Oracle has been replaced by the Zulu JRE from Azul Systems. Zulu builds are based on OpenJDK and they are certified for Java SE TCK compliance on x64 reference architecture systems. You can also use your own Oracle JRE or JDK by configuring the Java profile settings accordingly. A Java Runtime Environment is required for several script types, such as Oracle Forms, Silk4J, AMF, and of course Java Framework. By default, the JRE configured in the profile settings is used. However, if the configured location turns out to be wrong, Silk Performer automatically attempts to find an alternative by scanning the Windows registry or by using the JRE that is installed by the Silk Performer installer in the home/JRE directory. This smart JRE search functionality is also applied on remote agents. JUnit tests are now executed using a JUnit runner rather than by direct method calls. This allows you to make use of annotations in the Java code to parameterize your tests. JVM options are now passed on to Silk4J, so that you can further parameterize your Java test environment. General Enhancements The verification workload model has been enhanced and now features multiple user types with more than one virtual user for each user type. Additionally, you can now set how many times the virtual users have to execute their defined transactions before they stop automatically. In Silk Performer 19.5 you can attach additional files to a project. The project tree now displays a new node named Other Items . Any supplemental documents and files you add to the project display under this node. If you export the project, these files are copied as well, similarly to the assets of the other nodes. When using the Silk Central integration, you can now use a web-service token as an alternative to the conventional authentication mode with user name and password. The token-based authentication provides a number of advantages. For example, no user credentials have to be transferred during the authentication process and the token is decoupled from LDAP-bound credentials. You can generate the web-service token in the user settings section of Silk Central . To use token-based authentication both Silk Performer 19.5 (or newer) and Silk Central 19.5 (or newer) are required. The remote agent installer now allows you to configure the working folder of an agent. This is useful for agents with limited permissions on the default public documents location. In addition to AWS and Azure, Silk Performer now also supports cloud instances hosted in the Google Cloud. More information During the upcoming weeks, we are going to give you a more detailed insight into some of the most interesting new features, here on our blog site. So, make sure to stay tuned. For more information on all new features of Silk Performer 19.5, you can also refer to the Online Help . Another valuable source of information: the Silk Performer 19.5 Release Notes . If you are already convinced and want to buy Silk Performer, don't hesitate to contact us: Go to microfocus.com and click Contact Us on the top right. If this article was useful for you, leave us a comment or like it. We appreciate your feedback.
↧
Forum Post: How can I convert a date and time string grabbed from an xml and compare it with current time?
Hello I'm quite new at BDL scripting so please be gentle :) I have a problem converting a timestamp that I grab from an xml and convert it into let's say second since midnight My method of grabbing the xml value is: WebXmlParseNodeValue(sXmlParseRs1Rt1Tt1, STRING_COMPLETE, ToEncoding("/Results[1]/Result[1]/TestTime[1]"), 0, NULL, 1, ToEncoding("text/xml; charset=utf-8") ); the above code generates a date and time format like this: 2018-11-14T11:13:52.3282097+01:00 I then pick out the date and time in separate variables StrRegexImmediate( sXmlParseRs1Rt1Tt1,"[0-9]+-[0-9]+-[0-9]+","&", sXmlParseRs1Rt1Tt1b ); StrRegexImmediate( sXmlParseRs1Rt1Tt1,"[0-9]+:[0-9]+","&", sXmlParseRs1Rt1Tt1c ); I can verify that I've grabbed the correct values with RepMessage ("formatted Date sXmlParseRs1Rt1Tt1b: " +sXmlParseRs1Rt1Tt1b, SEVERITY_INFORMATIONAL); //this output = 2018-11-14 RepMessage ("formated ToD sXmlParseRs1Rt1Tt1c: " +sXmlParseRs1Rt1Tt1c, SEVERITY_INFORMATIONAL); //this output =11:13 I have also declared nTime variable nTime := GetCurrentTime(); //this generates current time in seconds since midnight So after this intro, my question is; how do I convert the HH:MM-string of sXmlParseRs1Rt1Tt1c into a number variable that I can use to compare it with the value of nTime? [magic code I need help with that converts sXmlParseRs1Rt1Tt1c into seconds from midnight and sets a new variable of nPleaseMakeItWork ] Then is should just be a matter of if (nTime - nPleaseMakeItWork > 600) then Repmessage ("Too old ",SEVERITY_ERROR); else Repmessage ("We are good ",SEVERITY_INFORMATIONAL); end; Looking forward to your replies
↧
Forum Post: RE: How do i run SoapUI commandline from my Silk Performer Script
Use inline function to do so. www.krogerfeedback.com
↧