JMeter jp#gc-WebDriver Sampler — Graphs Generator - groovy

Hi I am currently with the JMeter Groovy WebDriver. And my question is that having the Graphs Generator imported but don't have any graphs output. Can you please advise the Graphs Generator should works with WebDriver? Or only work for JMeter Sampler Http Request?

Graphs Generator listener doesn't really care about the nature of the Sampler, it should produce charts no matter of which Samplers are used (as long as they deliver sample results)
The problem is somewhere else, if you pay attention to this red 1 next to yellow exclamation sign at top-right corner of JMeter GUI
it indicates that at least one error happened during your test so it worth checking jmeter.log file, most probably you will find the reason (or at least a clue) there.
Looking at my crystal ball I can see that you don't have Synthesis Report plugin installed which is kind of pre-requisite for the Graphs Generator so my expectation is that if you install it using JMeter Plugins Manager it should resolve your issue.
I would also recommend re-considering the approach to running your tests, GUI mode is supposed to be used for tests development and debugging only, when it comes to tests execution you should run JMeter in command-line non-GUI mode.
And last but not the least, I don't think this Graphs Generator listener adds a lot of value, you can get much better view if you generate HTML Reporting Dashboard

Related

How to determine the number of method calls (or specific lines) of code in Android Studio?

How to determine the number of method calls (or specific lines) of code in Android Studio? I would like to see the result as in the screenshot right in the code (this is from another IDE, «1C»)
screenshot
I start the application on AVD, perform some UI actions (in my case, it’s a scrolling of RecycledView), close the application. I would like to know which code was executed and which was not. I tried to look towards Code Coverage, but it runs only for Unit tests, and they do not allow (?) to simulate interactive actions. Also I formed diagrams in Profiler, for example, the Top Down diagram, but it does not give a picture in general, it is not visible which methods were NOT called, and there are no number of calls of invoked methods.

Matlab: How to use Neural Network Toolbox with Command Line (not GUI)

I need to make a neural network to fit some data, a very large set of data, and my laptop is not powerful enough to use the training tools in the Neural Network Toolbox. I have access to a nice Linux cluster with Matlab, but the compute nodes don't do X11, so I can only use command line or script.
After reading the Mathworks page on Using Neural Network Toolbox, it looks like it should be possible to harness the functionality of tools such as nftool from the command line, but even after looking at the Getting Started Guide and the User's Guide, I found no understandable instructions of how to start calling commands to the NNT without bringing up a GUI.
The closest was on page 20 of the User's Guide, in the third paragraph, where it says that reading the code of the GUI tools provides a good introduction to using the toolbox by command line. However, the code (found in C:\Program Files\MATLAB\R2016a\toolbox\nnet) contains a lot of references to commands I'm not familiar with, particularly running Java from within Matlab.
Despite having used the nftool several times, I do not recognize any of the lines as "Ah, this is what does that". So, I guess what I'm looking for is a set of instructions that connect the commands to what they do.
If you use the NN UI first, it can generate the matlab code for you, as an example. There is no simple answer to your question as the NN toolbox has quite a large array of functionality, so essentially the answer would be a complete tutorial.
http://www.mathworks.com/help/nnet/gs/fit-data-with-a-neural-network.html#f9-33554.
In fact if you click that link, the advice is precisely what I was saying above.
After stepping through the nftool (or similar) screens, don't stop at the Deploy screen, keep going by clicking next to the final 'Save' screen and choose simple or advanced scripts.

Recording Line Numbers of Executed Paths

For Google Chrome Extension, is it possible to record the sequence of line numbers (with file names) (with the existing variables values in case of JavaScript) that are executed during the execution of HTML/CSS/JavaScript?
This is certainly possible but exceedingly difficult.
One can, in principle, implement it using chrome.debugger API, which gives the same access to the page as DevTools.
However, that API basically consists of sending almost-raw Remote Debugging protocol commands, and there aren't many samples to go on with. Debugger domain seems relevant.
So, it's possible but it's a lot of work, and additionally it's going to slow execution to a crawl.
As such, this is not a good problem to solve with extensions. It's better served by modification of Chromium code and maybe existing debugging capabilities of it. Basically, to efficiently output this information you need to get down to browser internals.

VS2012 CodedUI Recording: How to handle MouseWheel?

I have recorded a set of actions on a UI with the integrated Coded UI Test Recorder. It works kind of nice.. actually, right now I am going through the code and adding some polling for .Enabled and recently found the .TryGetClickablePoint which seems to be really useful. So it looks like recording is a breeze now (with those few polls to be added to get the timing right).
One thing that is a typical use case of the GUI is using the mouse wheel (for interacting with a zoomable image like in google maps). It seems like those are not captured.
I could manually generate those events, but would be far off from reproducing the actual behavior during recording with manually guessing the extent of the scrolling.
Is there some integrated way?
Would I have to capture the events myself with some external/selfmade tool to at least get an idea of how many ticks I made?
For stuff like this I'd recommend using the API directly for your test. You can use the Mouse.MoveScrollWheel method for this. You might have to experiment a little to get the number of ticks right.

real time refreshing in processing

I am new to processing, i found it by searching for "draw with coding" , and i tried it, seems every time i modify the code, i have to stop and render again to get the final result
Is there any way to get updated graph without re-rendering? that can be much more convenient for creating simple figures.
if not, is there any alternative to processing that can draw a graph with coding?
I've used Tikz in Latex, but that is just for Latex, I want something that can let me draw a figure by coding, I've suffered enough though using software like coreldraw, it lacks the fundamental elegance of coding..
thanks alot!
Please have a look at the FluidForms libraries.
easy to setup
documentation and video tutorials
as long as you don't run into exceptions, live code comfortably
if you prefix public variables with param you also get sliders for free :)
Do check out the video tutorials, especially this one:
Also, if using Python isn't a problem I recommend having a look at:
NodeBox
Field
Python is a brilliant scripting language - which makes prototyping/'live coding' easy(although it can be compiled and it also plays nicely with c/c++) and is easy to pick up and a joy to use.
In Processing, you must re-run your program to see the changes (graphically), unless you write code to receive input from the user to dynamically adjust what you are drawing. For creating user interfaces there's for example the controlP5 library (http://www.sojamo.de/libraries/controlP5/).
It doesn't support "live coding" (at least that I know of).
You must re-run the code to see the new result.
If Live coding is what you're looking for, check out Fluxus (http://www.pawfal.org/fluxus/) or Impromptu (http://en.wikipedia.org/wiki/Impromptu_(programming_environment)

Resources