Many API developers and companies struggle to find ways to easily set up systems to monetize their APIs. Some are simple but not customizable, some are complex and require massive engineering effort to actually get it all running. To make things easier, Moesif created a feature a few months ago called Billing Meters which gives massive customizability but with a minimal amount of code and engineering effort.
Swagger in conjunction with OpenAPI is a way for REST API’s to be build, documented and consumed. It is defined in either YAML or JSON. OpenAPI and Swagger are both open source, and their use is commonplace amongst development teams and can make the life of a performance tester a lot easier as it allows us to build JMeter tests directly from the definition of the endpoints. The object of this post is to look at how we can produce JMeter tests directly from a Swagger definition.
There are two types of tokens which can be generated when invoking the token endpoint in WSO2 API Manager. They are Opaque tokens and JWT tokens. You can easily create a service provider through the Management console and select which type of token you wish to generate using the service provider. What if you want the generated tokens to be in a customized format? In this article, we will look at how to create our own token issuer and generate customized tokens.