perftest | Automate performance tests on Amazon EC2 | AWS library
kandi X-RAY | perftest Summary
kandi X-RAY | perftest Summary
This is a small python application that attempts to automate deployments of a large number of (temporary) virtual machines. It's main emphasis is setting up a large number of (OpenVPN) client computers for performance testing purposes. However, codebase is general purpose enough to be used for any purposes requiring a large number of temporary VMs. Currently Amazon EC2 provider is supported, and the support for a "local" provider has been implemented but is broken atm due to architectural changes. Fixing it is trivial, though. To fetch the latest source code, go to. Enhancement requests, bug reports, patches and such can be handled from there as well.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- The main function .
- Start the instance .
- Create a test suite .
- Print usage information .
- Launch an EC2 instance .
- Setup server .
- Setup common functions .
- Generate a cronjob .
- Get test sections .
- Setup OpenVPN client .
perftest Key Features
perftest Examples and Code Snippets
Community Discussions
Trending Discussions on perftest
QUESTION
I'm using a Spring Cloud StreamBridge to publish messages to a RabbitMQ exchange. With the native RabbitMQ PerfTest i easily get up to 100k msgs/s (1 channel) using a single producer. If i launch a thread with a while loop with a sending StreamBrige (also 1 channel) i'm only getting ~20k msgs/s with similar settings (no persistence, no manual acks or confirms, same Docker containers..). I'm using Spring Cloud Stream and Rabbit Binder 3.2.2.
My yml looks like this:
...ANSWER
Answered 2022-Mar-14 at 19:09There will always be some overheade when using an abstraction on top of the native API; however, 5x doesn't sound right.
i'm using -x 1 -y 1 -a as arguments, means only 1 producer is publishing messages with auto consumer-acks
That probably explains it then; auto ack means no acks - the broker acks the message immediately when it is is sent to the consumer (risking message loss). The equivalent in Spring is Acknowledgemode.NONE
; it's default is for the container to ack each message individually.
See https://docs.spring.io/spring-amqp/docs/current/reference/html/#acknowledgeMode
and
https://docs.spring.io/spring-amqp/docs/current/reference/html/#batchSize
also
https://docs.spring.io/spring-amqp/docs/current/reference/html/#prefetchCount
Spring AMQP sets it to 250 by default, but SCSt's default is 1, which is significantly slower.
EDIT
Interesting; SCSt does appear to add some significant overhead over Spring Integration alone.
The following tests various scenarios from the native Java client and adding more and more Spring abstractions on top, finally using StreamBridge
; it should probably be profiled to see where the cost is and whether it can be mitigated.
QUESTION
I have one scenario where I am working on the IIS Website Configurations for URL Routing. I have added the website and Import the required Certificates on the server.
My scenario is (I have multiple website URLs and two SSL Certs - as below):
qatest1.abc.com
qatest2.abc.com
qatest3.abc.com
Above 3 URLs need to be configured on one SSL Certificate - which is QA Certificate.
Another URL is:
perftest.abc.com
And for this URL there is a separate certificate as PERF (performance) certificate.
This is how the Task is given to me to configure the IIS Settings on MS IIS 10.
Now the Issues which I am facing is:
- Not able to configure all the URLs configuration on the same IIS, as per the task given to me I am supposed to configure them all on the same IIS.
- Getting a strange message (image attached) and it won't allow me to configure all my above website URLs on the same machine, on the same IIS.
- Also trying to read about SNI (But Not sure about how to make use of SNI in this case).
Need help from IIS Experts who can support me on this activity to complete.
...ANSWER
Answered 2021-Mar-15 at 21:07#1 - its possible via CLI commands (appcmd & netsh) or scripting (PowerShell) and programming (c#) but not with the IIS Manager GUI afaik.
#2 - (see #1). IIS Manager is stupid and will overwrite existing bindings with the last certificate selected. You end up with bindings attached to the wrong certificate if you click Yes. This is a limitation of IIS Manager GUI not IIS.
#3 - You want SNI turned on. It means you can have multiple certificates associated with the same IP address. Without SNI you would need 1 IP address per certificate
These 2 links will give you an idea how to use appcmd and netsh - this is the quickest/easiest way to create your desired configuration.
If you know PowerShell("POSH") you can use the IISAdministration PowerShell cmdlet New-IISSiteBinding to create bindings and associate with a certificates thumbprint (though netsh is still useful for debugging and fixing issues).
Either approach your really configuring 2 things - IIS' bindings and Windows/SChannel/HTTPS.sys (the operating system component actually responsible for the 'S' in 'HTTPS'). Sometimes they get out of sync and the easiest fix is to delete and re-create the bindings (after clicking yes to "At least one other site is using the same HTTPS binding..." for example).
Few tips:
- Once you start using this configuration IIS Manager or Windows Update/software installs will probably break your bindings at some point. Write a script that can remove and re-create all your bindings for port 443(only!) so you can easily fix future issues.
- If you use netsh - its very fussy about the syntax. Order and spacing of parameters are important when using command
netsh http add sslcert
. - While your testing
netsh http show sslcert
andnetsh http delete sslcert
are very useful to try different configurations (this wont delete the cert, just the binding) - Cert needs to be in the Machine certificate store and make a note of the path. When using POSH or netsh always specify both certificate thumbprint and the store\path where the cert was installed.
- If you need a default HTTPS binding on the IIS Site (eg load balancer healthchecks etc) add it before any named HTTPS bindings.
Final aside - if your domains are all 1 level under abc.com
getting a wildcard certificate would save you a lot of bother. a single *.abc.com
certificate would cover all your domains and you can avoid this limitation entirely.
Good luck!
QUESTION
I am new to using BigQuery. I tried to select my trial project vertical-idea-303617
and run a query against it. But the browser keeps complaining about permissions related to erudite-buckeye-3032181
. I don't know what that erudite-buckeye-3032181
project is and I do not have it selected. Why am I still getting errors? See this image here:
How do I run queries against my vertical-idea-303617.perftest.reportgraphs
?
ANSWER
Answered 2021-Mar-04 at 08:51I had a similar problem, not exactly the same, and to solve it I just had to click that Hide Preview Features
button.
apparently Google released some new features that are all broken in the new Front-end, but not in the old
QUESTION
We are running jmx through Tauras using 2 containers in Kubernetes. We are seeing only 50 users in results instead of 100(50*2 containers). Can anyone please through some light if we are missing something here. We get two jtl and checking them individual or combined the total users are same 50 only. Is it related to same Thread name being generated and logged in jtl file or something else.
Here is the yml details: ...ANSWER
Answered 2020-Dec-22 at 06:44Your YAML is very nice but it doesn't tell anything about how do you launch JMeter or what these shell scripts you invoke are doing.
If you just kick off 2 separate JMeter instances by means of k8s - JMeter will look at the number of active threads from the .jtl file and given the Sampler/Transaction names are the same JMeter "thinks" that the tests were executed on one engine.
The workaround is to add i.e. machineName() or __machineIP() function to sampler/transaction labels, this way JMeter will distinguish the results coming from different instances and you will see real number of active threads.
The solution would be running your JMeter test in Distributed Mode so master will run in one pod, slaves in their own pods and the master will be responsible for transferring .jmx script to the slaves and collecting results from them
QUESTION
I'm running a CI pipeline in Azure DevOps with a Maven build step called "Download provided dependency JARs".
This step was working before, however it's suddenly giving me this error:
...ANSWER
Answered 2020-Nov-13 at 04:37It looks you ran your pipeline on self-hosted agent. Or you configured the maven to retrieve the dependencies from the local repository(in mvnsettings.xml
, or .m2/settings.xml
). If you ran your pipeline on self-hosted agent. You can check if the local repo /testartifacts/m2repository
exists.
If you run your pipeline on cloud agents, you need to find which setting files configured the the local repo, And remove the localRepository.
Then you might need to use Maven Authenticate task to provides credentials for Azure Artifacts feeds and external Maven repositories.
Add Maven Authenticate task at the top of your pipeline. And select your azure maven feed from the Feeds
dropdown list
This task will store the credentials on a temp settings.xml file(with feed name as the server id, see below) on the agent, which will be used to authenticate the maven repository in the following maven task.
Noted: The repository id you specified in your pom.xml file(ie. see below highlighted) should be the same with the name of your azure artifacts maven feed. Or it will still fail to authenticate the feed in the follow maven task. for the server id in the temp settings.xml file created above is the feed name.
QUESTION
I'm using an extend template and i want to use another template in this just for parameters. But i'm not able to and i'm not sure if the syntax is wrong. getting this error : /templatetest.yml (Line: 8, Col: 1): Unexpected value 'template'
...ANSWER
Answered 2020-Jul-03 at 12:01This is what you are looking for, these docs explain how to use parameters when extending from templates.
In short it means you define all steps in the template yaml file and pass parameter values from the extending yaml file. Keep in mind you can also pass buildsteps as parameter, see here for an example.
See below for a few snippets based on your case.
pipeline-template.yml in repository named TemplateRepo
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install perftest
You can use perftest like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page