Gaming News | Gaming Opinion | Playstation 4 | Xbox One | PS Vita | Film | Media

Jexin 0.5 Released

Version 0.5 of Jexin has been released under the Apache License 2.0.


Jexin is a web based functional testing/debugging platform for Java applications. The user can view details about the execution path (stack trace) in one or more JVM(s) and inject exceptions into the path to simulate faults. Jexin supports several views of stack traces including side-by-side comparison and merging of traces from different threads/JVMs into a single trace. Jexin does not run tests; it monitors the application and injects exceptions. The tests may be run manually or using a testing framework


An example could be: say there is a method called sendMessage that send a message to a JMS queue. A jexin User could configure sendMessage to throw an exception when it is called to simulate the queue being unavailable.


To identify methods that allow exceptions to be injected, Jexin uses Java annotations and aspects. Annotating a method with @Traceable makes it available to the Jexin user as a place exception can be injected. If there is an actual exception to be injected, it is determined at runtime using the Jexin web application.


The Jexin web application needs to be installed on a server that is accessible to the applications being manipulated. To work with several applications/or environments, only one sever instance is needed.


The method of integrating your application is relatively straightforward. The Traceserver must be running in the application being manipulated. Traceserver configuration should integrate well with Spring. The methods you want to have errors simulated in must be annotated with @Traceable.


This article was brought to you by Manchester Web Design.

Leave a Comment