Sometimes we need to perform some action on specified intervals. For example I was working on an application where I needed to simulate some server actions to be triggered automatically. In this post, we will learn how can we build a simple solution to achieve this functionality.
I will be using an existing code base which utilized .NET Events. I wrote an article on this topic, which you can read if you need some background information about the code we’ll use today.
However, you can use your own existing code for such purpose as well.
Here is the application code…
In previous posts on this topic, we learned how to install, configure and use AWS CLI. We also learned how to create a static S3 based website using AWS CLI. Today’s we’ll learn few basics about IAM Users, Groups and permission management.
Creating IAM Users is a very common task, however managing each individual user’s permission is a tedious task, that’s where a user group can simplify a lot.
In nutshell, we can create user group(s) and configure permissions for that group. …
In previous post on this topic, we learned some basics about AWS CLI and how to install it on your machine. In this post, we will learn few AWS CLI commands and we will also setup an s3 bucket as a static website which is publicly accessible.
Following picture shows AWS CLI commands Syntax:
In this post, we’ll learn how to setup AWS CLI and start using it for managing our AWS Cloud infrastructure.
You might be using AWS Web Console for managing your infrastructure. However, AWS Web Console is really ideal for once in a while kind of tasks. As you get more serious about building your AWS footprint, you’ll need to automate.
Meet AWS CLI, that makes it relatively easy to launch any AWS action from command line on your own PC. this makes managing and repeating your admin tasks easy.
In this post, we’ll start by installation the AWS CLI. We’ll…
In previous posts on this topic, we learned how JMeter can help us in performance testing our applications. I am using .NET Core for the demos, but you can use APIs written in totally different languages as well.
In this post, we will learn various other JMeter components and configurations and will also see couple of demos. I believe that with all this information, you’ll have good level of information to start setting up performance tests for your APIs and you will be able to explore different JMeter options easily on your own.
jemeter-plugins.org has a lot of plugins useful…
In the previous post on this topic, we’ve setup a simple JMeter performance test which is making HTTP Calls to a .NET Core API Endpoint.
The test we performed, was making calls to an unauthorized API Endpoint. Today, we will see how to make HTTP calls to an endpoint which is protected by JWT authentication mechanism. We all also learn few more items in JMeter.
This is how our current Test setup looks like:
In previous post about performance testing, we learned the basics of performance testing and JMeter tool. We learned that “ performance testing tests how an application or resource performs under a given load “.
We also learned about performance matrices (we can measure performance in terms of):
We learned that we can generate load in terms of:
Depending on how we apply the load there are different types of tests:
How our application is performing is a very core question in software development. In this post we will have a basic overview of performance testing, its various types and introduction of JMeter which is one of the most popular performance testing tool in industry. We will be using it to do performance testing of a web application.
Let’s learn a little bit about performance testing next:
Performance is usually related to “ how fast an application executes an operation “.
Performance testing is not only about measuring speed only. In particular performance is measured in terms of:
In previous post of this series, we configured our Angular application as a client of IdnentityServer and completed the login/logout process.
However even though user was logged-in, the REST API calls were still not authorized:
In previous post, on the topic of Token Based Security, we created an API endpoint and protect it (using Authorize attribute) with IdentityServer. Then we setup a simple Angular application with an AuthService to use oidc-client library. We also created few angular components and at the end of previous post, we created two buttons for login/logout purposes in appComponent and then wired the following method with click events: