How to test wso2 apim performance - wso2-api-manager

I have deployed wso2am-4.0.0 in okd, with 2gw, 2cp, 2tm. I'm going to have a performance test for WSO2 API Manager, I got docs from here, but I don't know hot to config, can any one guide me?

Although these scripts are in the public domain, they seems to be developed specifically to be used inhouse. Hence trying to use them may be an overkill. I would suggest you to look at Some of the test scenarios available in that repo and build your own test script to test your specific use cases.

Related

How to use dotnet-coverage connect utility?

I have a DOTNET ASP.NET API REST service that needs to have integration testing with code coverage measured.
I have the code coverage for unit tests currently functioning.
The testing harness is using Postman (Newman for CLI) issuing requests to an executing instance of the API service.
I was considering using the utility dotnet-coverage connect to collect the code coverage data during testing. However, I can't find any examples of its usage.
Documentation: dotnet-coverage connect
Does any one have any experience with this approach? Any other technique I should consider?
Thanks in advance.

How to share pact file in bitbucket

I want to share the pact file from consumer to bitbucket and then provider can use from the same location.
Does anybody implemented this?
Thanks in advance.
It's worth noting that it's very much a non-standard way of doing it and I would highly recommend you don't do it this way (see https://docs.pact.io/pact_nirvana/step_4/). You're going to have to build a lot of the workflows again, and that will require investment in building tooling and coming up with ideas to evolve the contract. At some point, you'll be rebuilding key features the Pact Broker already has and would be better off just running that or using a hosted service like pactflow.io.
So, without a pact broker, you don't get the can-i-deploy tool, versioning, environment management and all of these powerful workflows.
With that said - if you do want to use bitbucket:
you'll need to create a manual process (i.e. script) to upload (from consumer) and download (provider) from bitbucket
You'll only want to upload from CI, so that's easier to control
For provider verification, you really want to do this on a laptop, so you'll need a standard approach for pulling down the correct contract to verify there and on CI. Every team member will need credentials to read from that repo
Pact doesn't have a mechanism to pull from git protocols, but you could potentially add that feature to the languages you need them for

Creating an API multi thread in R

I'm thinking about creating an API with Rscript doing all my stuff.
But, we know that R is single-thread, and plumber also is.
Someone know a way to create an API multi thread in R? I dont think that an single-thread can help me in my case, I may have many users using my model in prod, then im afraid to use plumber.
I already see people saying about using RServer and Java to create an API multi thread. (but i dont know how do this).
Any suggestion, or links about this discussion is welcome.
Thank you all!
Just to document things that are possible to other people that may have the same question, and dont know how do this, I will put here some links that i found that can be helpful.
I dont test any idea yet to say which one is faster, or cheaper, or optimized...
But, what i found is:
You can use https://restrserve.org/ that is an alternative to plumber, even when plumber was just single-thread, restrserve already was helpful to create APIs multi-thead.
8 days ago, plumber release the version 1.0.0, that can support APIs multi-thread. Link to release: https://www.rplumber.io/news/index.html#plumber-router
Even in the past, without plumber v1.0.0, or if you dont want use the RestRserve, you could create an API single-thread with the plumber (in the past), use the Docker to Build your API and then use Kubernetes to manage the requests, creating "copys" of your API, and then the Kubernetes manage the requests, choosing the copy_API that will be used.
An talk at RSTUDIO::CONF2020 about an model that has 1.000.000 acces per day, with an R API: https://rstudio.com/resources/rstudioconf-2020/we-re-hitting-r-a-million-times-a-day-so-we-made-a-talk-about-it/

Installing Apigee on my own server

Is it possible to download and install Apigee on your own server? If so, is there any documentation on how to do this?
I have looked around on the Apigee.com web site for details, and I'm aware that there is an Apigee GitHub repo, but I'm not sure where to start.
Thanks!
The answer to your question is NO. Apigee does NOT provide you with content that can be downloaded, installed and run locally. However, if you do want to do this, you would need to buy a licensed OPDK (On Premise Deployment Kit), and then go about setting things up.
Apigee does provide a FREE account however for you to play around with and perform most/ALL actions, including implementing policies and building developer applications. Navigate to Apigee Enterprise, create a free account and plug away.
ALL of the documentation you need can be found at the Apigee Documentation site.
Apigee leverages some features from Usergrid, which is an open source project currently incubating at Apache.
http://usergrid.incubator.apache.org/
You can download it and run it on your own server. It doesn't give you API management, but it does provide BaaS functionality (a backend service/datastore to power mobile apps).
Apigee has a On premise deployment setup(opdk) which lets clients run apigee on their own servers. But i believe it's not a free piece of software, You will have to pay and buy the package which comes with a license for its setup & usage.
http://apigee.com/about/why-apigee
The full suit of Apigee capabilities are absolutely available either in the cloud or on-prem. However, the on-prem option only exists for Apigee Edge and not Developer.

Asp.net hosting provider with build capabilities and source control

Can you suggest an asp.net 3.5 hosting provider with continuous integration (cctray – nant builds) and source control facilities (svn)?
My requirement would be something like this:
I checkin to a svn branch (say trunk) on the hosting provider space.
CruiseControl.NET on the server fires off a build.
I see success/failure on my cctray.
On success my peers go to the website (say http://trunk.mywebsite.com) and see changes
I would also have to suggest a VPS as I have yet to see a Shared Hosting provider with compilers installed.
On the code repository side Assembla.com has free svn hosting and they also provide a way to kick off a build process by allowing you to specify a URL to post to when a check-in occurs. This URL can kick off a script that pulls the latest code and builds it. You can find more details on how to set this up here.
Shared hosting providers doesn't have that. You'll probably have to go with VPS, or maybe even Dedicated if services are consuming too much processor/ram.
I agree with everyone here. For every custom demands, it would be cheaper to look on a VPS / dedicated server to perform what you ask. You may find what you need, but at a high cost.

Resources