Releases: ChristopherRabotin/sg
New features: user-agents, min and max for numerical tokens and XSLT for humans
Warning: breaking change in configuration for tokens of num
pattern!
New features
Custom user agent
In the root tag of the XML settings, one can define the user-agent
attribute. That will set all requests as coming from that user agent, allowing quick identification in analytics events for example.
XML Stylesheet (XSL)
An XML Stylesheet is now embedded within the XML results, meaning once the results are generated, you can just open the XML file with any web browser, and the data will be displayed in a human readable way. Note that for ease of rendering and styling, the stylesheet will load Bootstrap's CSS from a CDN, so if you don't have an internet connection, the colors may not show and the styling may not be as nice.
Numerical tokens as min and max
In the XML configuration file, the min
and max
attributes for numerical tokens now correspond to the minimum number and the maximum number (instead of the exponent of ten). For example <token token="token3" pattern="num" min="5" max="10" />
means that token3
will be between 5 (include) and 10 (not included) (when it used to mean 10**5
and 10**10
).
Pull request summary
Minor bug fixes and optimizations from version 0.1
Merge pull request #7 from ChristopherRabotin/develop Race condition prevention and tests are now sequential
First release
First usable release of the tool.