See load test: ways to script for applications commands?

Hello

I'm designing a simple tool for an environment of view and so far its goes pretty well load test.  With the help of command line arguments and some Powershell, I am capable of recursion through a list of users and connect multiple sessions on a display server and open office and a few RDS App sessions.  My question is: is there a built-in way to pass a script in the command line arguments run certain commands on this computer to office or RDS App session?  Nothing crazy, just type in Notepad, open a few programs, save a doc or two--the usual stuff to generate regular workloads.

I know that VMware and third party companies have tools for this, but they don't specifically meet my needs without extensive configuration and a lot of hooks in our systems.  I'm trying to keep the footprint of this test as small as possible, so a simple Powershell script is how I want to move forward.  I guess that Powershell has a method to do this, but I'm not guru script nor it is a PS forum, so I was hoping there was something that already exists when I call the view connection that I could use.

Any help is appreciated, thanks in advance!

I can not completely solve your problem, but it can be a little simpler.

Q. for the "is there a built-in way to pass a script in the command line arguments run certain commands on this computer to office or RDS App session?

A. No, but you can use strategies Group (GPO) that can be activated when his connection to run a script.

BTW, for others who read this blog, "VMware View Planner" is the internal tool that can be used by customers too much for some areas of load test: VMware View Planner | United States

Tags: VMware

Similar Questions

  • Script for application of hyperlinks to text

    Hello

    I made a people directory document in InDesign using the data merge. Each person has information on access to its URL to social networks (LinkedIn, Twitter).

    Is it possible to do a script that search the InDesign document for all channels that looks like this:

    LinkedIn profile: http://a-very-long-URL

    and transforms them in all the LinkedIn profile , but with the URL applied as a hyperlink?

    If it's easier to search/replace operation I could mark the string without delimiters before executing the script, to avoid complex URL detection scripts. Maybe something like this (Markdown style): [LinkedIn profile] (http://a-very-long-url/)

    Thank you!

    Hello

    Quick snippet, try...

    var doc = app.activeDocument;
    // get URL
    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = '(?i)(?<=LinkedIn Profile: )(https?|www)\\S+\\>';
    var mURL  = doc.findGrep();
    // get Texte
    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = 'LinkedIn Profile:';
    var mSource  = doc.findGrep();
    
    for (var k = 0; k 		   
  • Error trying to run load test on OATS by using the command line

    Get the trial below the error message when you attempt to run the command line to start the OATS.

    log4j: WARN no appenders could be found for logger (oracle.oats.server.jndi.JndiL
    ookup).
    log4j: WARN Please initialize log4j correctly system.
    log4j: WARN see http://logging.apache.org/log4j/1.2/faq.html#noconfig to learn more
    FO.
    Error of initialization of the connection of the controller of t3://rws21410019.us.oracle.com:8088/
    weblogic\n\n (message id = ctl.initError)
    oracle.oats.client.controller.ControllerException: initialization of the error controller
    connection to t3://rws21410019.us.oracle.com:8088/weblogic\n\n (message id = ctl.i
    nitError)
    to oracle.oats.app.controller.client.ControllerClient.initController (Con
    trollerClient.java:268)
    to oracle.oats.app.controller.client.ControllerSyncedClient. < init > (control
    ollerSyncedClient.java:137)
    to oracle.oats.app.controller.client.OltCommandLine. < init > (OltCommandLin
    e.Java:43)
    at oracle.oats.client.CommandLine.initController(CommandLine.java:748)
    at oracle.oats.client.CommandLine.run(CommandLine.java:179)
    at oracle.oats.client.CommandLine.main(CommandLine.java:61)
    Related: javax.naming.AuthenticationException [root exception is java.lang.Sec
    [urityException: user: weblogic, could not be authenticated.]
    to weblogic.jndi.internal.ExceptionTranslator.toNamingException (Exceptio
    nTranslator.java:42)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException (WLIni
    tialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject (WLInitialCo
    ntextFactoryDelegate.java:682)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext (WLInitialCon
    textFactoryDelegate.java:469)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext (WLIni
    tialContextFactoryDelegate.java:376)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext (WLInitialCont
    extFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext (unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx (unknown Source)
    at javax.naming.InitialContext.init (unknown Source)
    to javax.naming.InitialContext. < init >(Unknown Source)
    at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal (exercise
    WN Source)
    at oracle.oats.server.jndi.JndiLookup.createInitialContext (unknown source
    (e)
    at oracle.oats.server.jndi.JndiLookup.createInitialContext (unknown source
    (e)
    at oracle.oats.app.session.SessionClient.initSession(SessionClient.java:)
    104)
    to oracle.oats.app.controller.client.ControllerClient.initController (Con
    trollerClient.java:262)
    ... 5 more
    Caused by: java.lang.SecurityException: user: weblogic, couldn't be Authenticate
    Ed.
    at weblogic.common.internal.RMIBootServiceImpl.authenticate (RMIBootServi
    ceImpl.java:116)
    at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke (unknown Sou
    NCE)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
    to weblogic.security.acl.internal.AuthenticatedSubject.doAs (Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:)
    146.)
    at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
    one: 518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run (WLSExecuteRequest.jav
    one: 118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Please make sure that the BTA server is running!

    Thank you

    This problem has been resolved after changing the user name for "oats", this is the user name of the weblogic server and not the console of OATS.

  • With the help of functional test for load testing scripts

    Hey,.
    I'm new to this tool. Right now, I use a version 9.2 of OATS. I created a few functional scripts for Oracle E - business applications using openscript. Can I use the same scripts for my load tests. If so, how would I be able to do? When I created a load of scripts using openscript, they appear in BTA. But my functonal scripts do not appear under 'select scripts' upward section OLT.

    You will need create scripts for load tests. Functional scripts cannot be used BTA. The exceptions to this rule would be the "General" components (Code of Java Script & Web Services), which can also be used in BTA.

    for example, instead of "Testing - Oracle EBS/functional forms.
    Select "Load Testing (Protocol Automation) - Oracle EBS/forms.

    Once you get in tests that you will realize that you want to create very specific scripts and do not want to try to re-use of functional scripts to load. I know that many of these tools are "sold" to the fact that functional scripts can be reused for the load, but when it comes down to it, you'll want to design your scripts load separately anyway!

  • Oracle load testing for Web Applications - connection problem

    Hello

    I am currently trying to learn that load tests of Oracle for Applications Web tool Version: 8.50.0299 and he asks me a user name and password to connect...

    and I only set a master password during installation
    try recording with user name: System, sys
    password: master password

    It did not work :(


    any ideas?

    You want the user 'administrator' (with the password you set during installation).

  • OATS: olt: where can I see Oracle load test report

    Hello

    When I run the script open (for load tests) reports are get generated in < Repo > / ScriptName/results/< Session > and it contains all the necessary information.

    Publient1) but when I ran the same load test reports are not saved @ the above mentioned location. I searched all directories, it seems that the reports are not saved to the local file system.

    Issue2) also., when I executed the command line load test with '-localFile = < Filename > .htm ' option, the file is not generated. Here's my syntex:

    /Scratch/ < folder > / oats12/jdk/bin/java - jar OLTCommandLine.jar - run - scenarioFile = "" /scratch/ < folder > / oats12/OFT/SearchTarget/SearchTarget.scn "- session = TestSession1430100808pm - OLTServer = localhost:8088 - user = oats-password = PWD123-iteration = 10 - groupdatanumber = 2 - ramptriggerafterseconds = 10 - VUCount = 6 - log = / scratch / < folder > TestSession1430100808pm.log - localFile = / scratch / < folder > TestSession1430100808pm.html"

    Above the case I'm exepcting "TestSession1430100808pm.html" file that is generated with all the results @ the place given, but it did not work.

    I tried the same example above giving the local directory is in dire.,./Abc.htm that does not work too.

    Hello!

    You must use - report instead of - run and the report will be generated.

    Attila

  • Basic authentication for the WSDL Web Service for load test

    I am trying to load test a web service; the URL of the WSDL is behind a user name and password using http basic authentication. I can add the URL of the WSDL without problem with the user name and password, but when I read the script, I receive a "401 Unauthorized" errors

    I looked at the preferences > recording > Web Services > the Proxy Configuration, and then refer you to the preferences > recording > HTTP > the Proxy settings. I also looked at similar settings under Preferences > reading.

    I'm running OpenScript (9.1), how to configure it...?

    Thank you very much!

    KM

    Published by: KM 14 Sep, 2011 12:12

    Hello

    You can right click on the section to initialize your script and then:

    Add-> other-> HTTP-> authentication.

    You need 3 parameters:

    A - http://someurl - url that will authenticate any url that contains the http://someurl string for example http://someurl.com/index.html
    A password
    A user

    The following code should be added in your script:

    http.addAuthentication("http://someurl", "username",
                        deobfuscate("5blNah5kX/XuZnepYwInFw=="));
    

    Hope this helps

    Alex

  • Protocols supported in OAT 9.2 for load tests

    Hello

    Can someone help us to provide a list of protocols supported by OATMEAL 9.2 for load test applications.

    Thanks in advance.

    Kind regards
    Mahesh

    Hi Manu

    OATS 9.20 has the following modules for load tests:

    HTTP/S
    -Siebel
    EBS/forms
    -ADF
    -Flex
    -Oracle database

    Concerning

    Alex

  • Is there a way to "minimize all" applications to see the desktop?

    Is there a way to "minimize all" applications to see the desktop. I can do this on a Windows PC using WindowsButton + M.

  • Using the event Script to load the Excel model data for users

    Hello

    Whoever did this in the FDM 11.1.2.1.

    We want to exploit the event Script to load the data validated MDF for a standard template so that users can make some adjustments and then load the same data through the FDM? Is there a better alternative. Basically, trying to avoid making adjs data forms in HFM in view of the number of columns that we have and validations for each line required with adjustments.

    Thank you

    PM

    Hello

    google + Administrator's Guide.

    It's just a matter of thought in the solution:

    -Runs a SQL query to export data from table (TDATASEG). You can filter the query by LOADID

    -Write csv file records

  • Ive bought a subscription for one year for applications, after that download some apps ive noticed that they are in the 30 days test modes. How can I get my creative cloud acknowledged he paid?

    Ive bought a subscription for one year for applications, after that download some apps ive noticed that they are in the 30 days test modes. How can I get my creative cloud acknowledged he paid?

    Try to connect and then reconnect again.

  • Usually, there is a way to upgrade for current users of the software at a reduced price. I don't see something like that for Lightroom 6. I have to pay full price just to upgrade to the new version of standalone LR6?

    Usually, there is a way to upgrade for current users of the software at a reduced price. I don't see something like that for Lightroom 6. I have to pay full price just to upgrade to the new version of standalone LR6?

    Just go to the products

    Scroll to Lightroom and click on buy and then replace I want to buy lots of upgrade. The price is $79.

  • For applications, hosted on a private server, users have to reinstall the application to see the updates to the App Builder?

    For applications, hosted on a private server, users have to reinstall the application to see the updates to the App Builder? Let's say that I was updating a banner of right or a library style...

    If you change the .zip offline banner or a library style that is part of a .zip file that you specify in DPS App Builder, then Yes, you must change the app and make it available for users to update. But if you change the style of banner or library that is hosted on a server, the changes appear immediately without any modification to the application.

  • What is the limit of memory for applications Webworks? Our application does not have to charge 50% of the time.

    * This question is memory of the Z10 device only Webworks *.

    We have looked EVERYWHERE and can not find an answer updated this! Also went through all the documentation.

    We have created several games using HTML5 which has great sound and special effects.  Only problem, is that we have heard that some people have had memory problems with applications Webworks.

    The game that we were about to publish has a 12 MB download size, but uses a 32 MB total memory. The script JS itself is only 800ko but are resources which are both loaded into memory to 12 MB, but an another 20 MB are generated on the plan procedural as the user through the levels.

    It worked fine in the Simulator about 3 / 6 times, with the other 3 times drawing a blank screen. We have not tested on a device yet. The game is flowing on the desktop browser 100% of the time.  We assume that failures of loading in the card sim is due to problems of memory?

    What is the total maximum memory allowed use for applications webworks? I heard that it's much lower than native applications.  We have a great game that has been in high demand for awhile now and it is very good for Blackberry players who pay for games - but unfortuntaely I'm not sure if we can publish now.

    There are 10 BlackBerry applications that exceed 1 GB in size and a very high memory usage. based on your numbers I do not plan to be a problem.

    As a general rule, if an application causes the operating system to run out of memory, the operating system will start cleaning things upwards (starting with the offending application) to free up resources. This will result in the application of closing; not a white screen.

    As a general rule, if you see a white screen on startup, it means that there was an error in the JavaScript code when loading.

    Did you by chance has created a debug version and connected Web Inspector to monitor for errors when starting?

    You use frames? BBUI.js, etc. ? If Yes, can you confirm that you expect for the event the window.load event * before * trying to access the document or WebWorks APIs?

  • Is there a faster way to put an application on the device?

    Currently I use the Application Loader to put my test on the blackberry for testing application. I have to first remove the application, and then add it. It takes about 5 minutes. Is there a faster way?

    I tried to update, but the Manager don't think that the application has changed, although I have met with the updated code.

    [Please do not mention the Simulator in response, thank you.]

    See you soon.

    How about using javaloader?

Maybe you are looking for