Is cloud based load testing deprecated? - visual-studio

Came across an article https://devblogs.microsoft.com/devops/cloud-based-load-testing-service-eol/ which says that cloud-based load testing service has been deprecated.
in this article, at one point it says that,
"Running a load test in the cloud using Visual Studio (both
auto-provisioned agents and self-provisioned ‘bring-your-own’ agents):
You can continue to run the tests but self-hosted with Test
Controller/Test Agent option outlined above."
If all my load testing agents, controllers are created as VMs in Azure - and I use my VSTS subscription to run these load tests then do I need to worry? The above paragraph is a little confusing, hence asking.

Related

Azure Load Testing External Request (API call) Performance / load testing with Individual Call performance details

I want to perform load testing of Single Page Application. So i have created JMeter script for that and it is working fine from my single machine for concurrent users. But i want to create actual concurrent users scenario from different machine or location. For that reason i am trying to use Azure Load Testing service and there want to use JMeter script which i have created on my local machine.
Please let me know if Azure Load testing service support below points : -
Is it possible to test performance of API call which are going to other servers (non Azure).
Is it possible to track performance report like JMeter for each API call individually.
Please let me know if any clue on above problems.
Thanks
As per documentation
Enable developers and testers to generate high-scale load and run simulations that reveal actionable insights into app performance, scalability, and capacity with a fully managed load-testing service. Create tests quickly without prior knowledge of load testing tools, or upload your existing Apache JMeter scripts. Gain specialized recommendations backed by comprehensive metrics and analytics, and support continuous improvement through automated continuous integration and continuous delivery (CI/CD) workflows—all with a testing service built for Azure.
So it should be possible to run your JMeter scripts from Azure. If your system under test is reachable from the Internet you it doesn't matter where it's deployed.
If not and your application is only accessible from your local Intranet - you will have to go for JMeter Distributed Testing

How cypress can be integrated with Xray in Jira

We are using XRAY in our Jira instance for running so far manual test and record metrics for our QA department.
We would like now to move a step further in order to implement Test Automation integrated with X-ray.
X-ray can use cucumber syntax for test case
What is the way to integrate Cypress with X-ray ?
How can we create automation test in Jira and send them to Cypress ?
How to get cypress test result back to X-ray for reporting and tracking ?
We are new to cypress and automation test using those environment, thanks for sharing your findings
regards
If using Cypress, you can use the report produced by the test runner to integrate with Xray. If you're using Cucumber together with Cypress, you'll use "cypress-cucumber-preprocessor" package; you'll need to decide which workflow to adopt - in other words, you need to decide which will be the master for editing/managing your Gherkin specification.
The flows are slightly different depending on that.
This tutorial details the two flows; it is for Xray on Jira Cloud but it can easily be adapted if you are using Jira on-premise (server/Datacenter).

How to Test Gol App Engine apps locally on Win 10 and use app.yaml

In Google's latest docs, they say to test Go 1.12+ apps locally, one should just go build.
However, this doesn't take into account all the routing etc that would happen in the app engine utilizing the app.yaml config file.
I see that the dev_appserver.py is still included in the sdk. But it doesn't seem to work in Windows 10.
How does one test their Go App Engine App locally with the app.yaml. ie: as an actual emulated app engine app.
Thank you!
On one hand, if your application consists of just the default service I would recommend to follow #cerise-limón comment suggestion. In general, it is recommended for the routing logic of the application to be handled within the code. Although I'm not a Go programmer, for single service applications that use static_files and static_dir there shouldn't be any problems when testing the application locally. You might also deploy the new version without promoting traffic to it in order to test it as explained here.
On the other hand, if your application is distributed across multiple services and the routing is managed through the dispatch.yaml configuration file you might follow two approaches:
Test each service locally one by one. This could be the way to go if each service has a single responsibility/functionality that could be tested in isolation from the other services. In fact, with this kind of architecture the testing procedure would be more or less the same as for single service applications.
Run all services locally at once and build your own routing layer. This option would allow to test applications where services needs to reach one another in order to fulfill the requests made to them.
Another approach that is widely used is to have a separate project for development purposes where you could just deploy the application and observe it's behavior in the App Engine environment. As for applications with highly coupled services it would be the easiest option. But it largely depends on your budget.

Invoking Ruby Scripts or Executables on on-premise server using Azure Data Factory v2?

How can I invoke Ruby scripts or executable(s) on on-premise server using Azure Data Factory v2 (ADF)? In my view, it falls under the category of Custom Activity and ADF as of now supports custom activity only via Azure Batch and Azure HDInsight. But what about running custom activity on on-premise server/network?
It's understandable that for on-premise server or networks behind firewall, one needs to setup self-hosted integration run-time (IR). But as per documentation of ADF, it appears that self-hosted IR can be used for copy activity. Can I run a custom activity on self-hosted integration run-time?
one workaround can be that I use Azure Batch that SSH into my on-premise server and executes the scripts but due to certain security restrictions, I cant proceed with this possible solution.
Azure batch linked service can also reference a selfhosted IR. So you should be able to run a custom activity on selfhosted integration runtime.
You could use ADF UI to have a try.

Correlate server metrics from visual studio load test

I have a coded web test being executed in visual studio load test. I deploy it so it runs in Azure. The analysis is pretty cool, but I can't seem to figure out how to correlate remote server metrics into my load test results (i.e. metrics of the server receiving my load test requests).
From what I can tell, it seems like I might have to install the "agent" software on my remote server. How would I do this with an Azure cloud service deployment? It doesn't seem possible with a cloud service deployment.
Also, it looks like a load test can aggregate App Insight data, but from what I can tell, App Insight doesn't give me the low-lever metrics I'm looking for. I was "perf"-like data: Counters for CPU/Disk/Network/Kernel/etc. Please correct me if I'm wrong.
Does anyone know of a way to automatically include remote server metrics into a Visual Studio load test?
A load test can collect performance counters from other computers. It should be able to collect any counter that Perfmon running on the computer running the load test can see. If you set the permissions and firewalls etc so the computer that runs the tests can run Perfmon and collect the counters then the load test should also be able to collect them.
A load test that is run in the cloud using VSTS is run under a Microsoft account from one of their computers. This means setting the permissions etc on the servers being load tested is difficult because the accounts are unknown.
If a load test is run on your own computers then you know the accounts running the tests and can set the server permissions to allow those accounts the appropriate accesses.
Visual Studio agents can be used on your computers to run the load tests. They are most commonly used when the load required (the number of virtual users) is too high for one computer. Agents do not run on the servers being tested. The Agent software is not used when a cloud load test is run by VSTS. (Actually it might be used by Microsoft, but it will be almost invisible to you when you run a test with VSTS.)

Resources