API Simulator’s Blog


How to Connect JProfiler to a JVM Running in Kubernetes Pod

Running a JVM in Kubernetes Pod somewhat complicates things when it comes to connecting to it from an external profiler tool. Below is an example of how to accomplish just that with one such tool – JProfiler. A definitely not recommended approach is to “bake” JProfiler in the application’s image, which leads to tight coupling and larger application image. A better way is to use an Init Container. A Pod can have one or more Init Containers. For the most part, they are like regular Containers and have the property that once their execution completes successfully they are terminated; only […]


API Simulator 1.2 Release

January 15, 2019   We are pleased to announce the release of API Simulator version 1.2. Here is what is new and what changed: Introduced a new built-in Request Object – “_request” – that can be used in templates to get access to parts of the HTTP request and use them in rendering the response. The Request Object compliments the existing support for parameters from HTTP request components – use whichever approach suits your style. Update to the YAML DSL: the “matchers” top-level element has been deprecated and replaced by “request”. This makes for an even easier to read configuration […]


API Simulator 1.1 Release

October 19, 2018   We are pleased to announce the release of API Simulator version 1.1. The focus of the release is the introduction of JSONPath for matching elements of JSON-formatted HTTP body content; the XPath expressions for JSON are still supported. JSONPath can be used in both the standalone and embedded API Simulator editions. The documentation has been updated accordingly. With this release, we are dropping the PATCH part of the so-called “semantic versioning” notation (MAJOR.MINOR.PATCH) when numbering releases. From now on API Simulator releases with use MAJOR.MINOR notation, where: MAJOR version will change when there are incompatible API […]


New Asciidoctor-published Documentation

May 31, 2018   After the big milestone – the release of API Simulator 1.0.0 – we focused on the online documentation. The decision was to go with Asciidoctor. We really like the AsciiDoc syntax it uses that goes beyond the various Markdown variations as well as the available publishing toolchain. AsciiBinder currently provides templating, versioning, and bundling of the documentation. It will do for now after the workarounds we put in place and some post-processing… You have not to worry about any of that though – just enjoy the new navigation, better code highlighting, documentation versioning, and more. It […]


API Simulator 1.0.0 Release!

April 20, 2018   We are very pleased to announce the release of API Simulator version 1.0.0. What a milestone! API Simulator has certainly matured well beyond the point to give it the designation of version 1.0.0. Extensive list of features and ease of use with our intuitive YAML DSL (Domain-Specific Language) make API Simulator an indispensable tool for anyone’s toolbox to model and run API Simulations. Among the latest changes: Added eval for parameters. It allows for defining the final parameter value as result of evaluating a script expression. Now the sky is the limit when it comes to […]