About this blogHey folks!, In this blog we will see about a library AzureFunctions.Extensions.Middleware that I developed to make use of middleware pattern to address some of the cross-cutting concerns of our applications.
Middleware support in Azure FunctionsHistorically we always have known .NET Azure Functions have been in the in-process mode. Until the release of .NET 5, now there are two modes in which we can run Azure Functions
About this blogHey folks!, In this blog we will see about CosmosPark that I developed to build different use cases on top of Azure CosmosDB.
CosmosParkThis repo contains a solution that creates a serverless chat application with a gamified experience that stores data in Azure Cosmos DB, Azure Functions and Azure EventGrid for events processing, Azure WebPubSub for websocket client messaging and Azure Static WebApps for hosting
Website linkhttps://cosmospark.iamdivakarkumar.com/
About this blogHey folks!, In this blog we will see about a library AzureFunctions.Extensions.Middleware that I developed to make use of middleware pattern to address some of the cross-cutting concerns of our applications.
Middleware support in Azure FunctionsHistorically we always have known .NET Azure Functions have been in the in-process mode. Until the release of .NET 5, now there are two modes in which we can run Azure Functions
About this blogHey folks!, We have already seen a brief about a high level overview of azure load testing in the first blog of this series. In this blog we will see how to create and run a load test in Azure.
Create Load test resource Creating resource In your azure portal select + create a resource and search for Azure Load Testing ( It is still in preview stage when this blog was created )
About this blogHey folks!, In this blog we will see how to pass bearer token dynamically between two different thread groups using bean shell assertions. We will continue with the same Mock API that we used in our previous blog
Mock APIIn order to cover the scenarios, I have used a mock API that exposes token endpoint and a dummy GET endpoint.
Mock API Mock Oauth Token endpoint Extract token between two thread groups using BeanShell assertions Creating two thread groups Now we can move our existing “Get access token” HTTP request to newly created thread group Create BeanShell assertion Now we can set a property similar to global variables that can be referenced in other thread groups In the script window type below command 1 props.
About this blogHey folks!, In this blog we will see how to pass bearer token dynamically while running the test plans.
Mock APIIn order to cover the scenarios, I have used a mock API that exposes token endpoint and a dummy GET endpoint.
Mock API Mock Oauth Token endpoint Extract token within a thread group using JSON Extractor Configuring GET endpoint with HTTP Header manager Create ThreadGroup and Add HTTP request , ThreadGroups->Add->Sampler->HTTP Request Create HTTP Request for GET endpoint : https://httpbin.