Does JMeter have "User-Defined Data Point Graphs" like LoadRunner? - graph

I am looking for a feature in Apache JMeter. I need the equivalent feature that I use with MicroFocus LoadRunner called "User-Defined Data Point Graphs".
From LR User Guide
The User-Defined Data Point graphs display the values of user-defined data points. You define a
data point in your Vuser script by inserting an lr_user_data_point function at the appropriate place
In pratice I want to use "JSR223 PostProcessor" and via code add values to a time serie. This time serie will be plotted on time based graph. In LR with line of code
lr_user_data_point ("data_point_1",1);
The UI shows a new data serie on plot that can be used as additional report (generate plot, median, table, etc...).
Thanks
Vincenzo

No there is no such feature in JMeter.
You can request an enhancement but ensure you explain:
What is the aim of this feature ?
What benefits it brings
See:
https://jmeter.apache.org/issues.html
Edit on 3 august 2018:
In upcoming JMeter 5.0, it will be possible to graph over time custom variables. See https://bz.apache.org/bugzilla/show_bug.cgi?id=62166

at this point there are three possible solution:
Open a new feature request as suggested by #UBIKLOADPACK
Develop a JMeter plugins using TestBean framework as described into link
Export a time-series to Grafana (or similar) using BackEnd Listener
Regards

Related

Power BI - Switch table structure depending on what is selected

I'm trying to understand the workflow and how to think when working with Power BI.
I'm trying to create the visual side of a logging framework using azure application insights and log analytics in the background.
What I got stuck on right now is using a visualization for different table structures.
Scenario:
So lets say I have an integration workflow that is compiled of different components (starts at one endpoint, being processed and sent to destination endpoint), and this workflow is used in parallel depending on the endpoints.
Visualization:
A ----> (integration process) -----> B
C ----> (integration process) -----> D
A <---- (integration process) <----- B
C <---- (integration process) <----- D
In this process I'm logging traces and exceptions for each workflow for example.
And lets say I have extracted the power BI query from log analytics to import the data into Power BI.
Now as you can see above I have an "Send" and "Receive" flow for both sets of endpoints per parallel integration so to speak and I want to be able to pair these per report in Power BI.
Problem:
So then to my problem for now;
Let's say I want to put a doughnut chart with total amount sent AND received messages.
Also when clicking on the different parts of the chart I want to change the containing data and also the structure of the single table in the same report.
What I'm struggling with is using a table to display the content of two workflows that are related to each other in the sense of being a "Sent and received" visualization of the integration, but don't have any hard drawn relations to each other in code.
I was reading something about a switch statement but I thought i'd ask the question here to learn "the way of thinking" when using Power BI.
Hope I made my problem clear by the description above, if I forgot anything please ask and I'll do my best to try to further explain what I'm asking for.
EDIT:
Ok so regarding the feedback i got of the question being to broad, does it help i i would say i want to be able to switch everything in a Table (that is: all columns and values), by a clickable slicer for example.
why i'm trying to achieve is something similar to this, but for a table view:
Youtube Link:
Using SWITCH True Logic In Power BI - DAX Concepts
Do i select the content of a table with a measure-query or do i have to do any other special fix to get this to work?
Hope this clarify the problem i'm working on.
If you are looking to switch between two entirely different tables, I'd recommend using buttons to toggle between different bookmarks which show/hide different visuals.
Check out the documentation for bookmarks and buttons for more detailed information and come back if you get stuck and have more specific questions.

Grafana graph to display call response time

I have been playing with Grafana for a while, and got stuck with the following issue.
I need to produce a chart that displays the round trip time for some REST calls my application is doing.
I am using Dropwizard metrics and starting a PausableTimer when I fire the call, and stop it when the expected response comes back. From Grafana, then, I can see the data source I need but when I build the graph, I am forced to apply some statistical calculation on my data (stddev, mean, max, min, etc.) whereas all I need is to chart the numbers from the series.
Below is a screenshot of the config part I am referring to:
The dropdown contains a number of transformations to apply to the priginal data, and I cannot find a way to tell Grafana that I wans to display the data the way it is.
I am not really sure how to do this, had anyone had this issue before -- and solved it?
Thanks in advance.

Visualize percentage in Kibana

I'm new to Kibana and want to create a visualization that shows percentage of unsuccessful events over time as a line chart.
I log an event for each of the cases: “Event success” and “Event error”.
Currently I have the two metrics in a single graph, but I don’t know how to calculate the percentage of unsuccessful events, i.e. count(“Event error”) / (count(“Event success”) + count(“Event error”)). Any ideas?
Kibana version: 4.1.1
We wrote a plugin for this.
https://github.com/outbrain/ob-kb-percent
All you need to do is to install this plugin.
Yes, you can go through the plugin, but sometimes there are issues in installing the plugin as it throws an error "No valid URL specified!".
Also for your this query you can try to access visual builder and calculate your unsuccessful events. Under data option in the visual builder, you can have math aggregation and try to perform your calculation.
Try this once, because this will give you graph visualization.

Visualizing system load average with Kibana 4.1

I have a Kibana search that returns the load average in a field called metric_value_number. This indexed field has a format of Number, and a Numeral.js format pattern of "0,0.[00]". This is default values.
Here is a screenshot of my search with sample data
When I try to make a visualization with a sum-aggregation, it gets aggregated to zero. This applies to Visualization types of at least Line chart, Area chart and Metric.
How can I properly visualize the system average load with the data I have?
Found this thread, because I had some trouble myself getting our load visualized. However, it turns out I had to type cast to number first by using %{NUMBER:load_1:float} and actually needed an average aggregation.
Had to delete the Logstash index and "reload the field list" in Kibana to get it working.
Tried to reproduce your problem by using your settings. Unfortunately for you, I got it working. I am currently using Kibana Version 4.1.2-snapshot
Build 7500.

Calculating a Web Audio API filter's response at a specific frequency and Q-factor

I'm using the Web Audio API to make a graphic EQ with four BiQuad filters; a highpass, two bandpass and a low pass:
You can see each node representing each filter's frequency. It's working nicely but I'd like to draw the shape of the filter's roll-off you'd usually find in other graphic EQ's.
I have the Q-factor of each filter and the central frequency. What I would like to do is get a formula that allows me to get the frequency of the roll-off at a specific db value. For example what is the frequency of the roll-off at -200db?
It's been a while since I've done any heavy mathematical stuff and so any help would be greatly appreciated.
Have you looked at the getFrequencyResponse method of BiquadFilterNode? https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Methods.
This demo from my IO2012 Web Audio talk uses it: http://webaudio-io2012.appspot.com/frames/frequency-response.html. You'll have to calculate the responses of multiple filters stacked together from there, of course.

Resources