BTW the renderer uses plugin approach, so you can have JavaFX renderer as a plugin to not affect the core packages.
Andrey Pokhilko On 06/05/2016 10:54 PM, Antonio Gomes Rodrigues wrote: > 2016-06-05 21:17 GMT+02:00 Philippe Mouawad <philippe.moua...@gmail.com>: > >> On Sunday, June 5, 2016, Felix Schumacher < >> felix.schumac...@internetallee.de> >> wrote: >> >>> >>> Am 5. Juni 2016 15:44:16 MESZ, schrieb Philippe Mouawad < >>> philippe.moua...@gmail.com <javascript:;>>: >>>> Looks to be a good idea. >>>> Indeed having a browser that interprets better the html is very useful >>>> during scripting phases. >>>> I find very frequently myself saving the html response (that contains >>>> the >>>> response to a failed replayed request) and opening it in firefox or >>>> chrome >>>> because it's unusable in the current html renderer. >>> I have to agree, that the current html3.2 display is a bit outdated. And >> I >>> wanted to try integrate the jfx browser to see, how much we would have to >>> change. >>> > I felix > > For the moment I have only : > Check if a framework can do it > Study how JMeter render HTML > Make a POC (with an easy Swing application) to check how JavaFX is mixed > with Swing > Make a POC (with en easy application) to check how JavaFX webview render > some html > Start to study how to integrate it in JMeter > > Have you start to work on it? > If no and you have an idea how to do it without the time to implement it, I > can try to do it > > Thanks > Antonio > > >>>> This allows easily to read an error message or see some form that >>>> requires >>>> html 4 or 5 or just have the real look of an html page. >>> We could use the browser for the printable docs, which would allow us to >>> switch to a more modern html code for the docs. >> yes good point >> >>> The jfx browser could also help with the current bug with the unbalanced >>> parentheses in the css stylesheet. >> yes. >> Note the bug is fixed in java9 >> >>>> Currently the html renderer is both slow and unable to render correctly >>>> nowadays html. >>>> >>>> >>>> The best option to me is to use javafx browser and interfacing swing >>>> with >>>> javafx is possible. >>>> >>>> As a pre-requisite we should migrate to Java8 which should happen >>>> anyway >>>> since some of our dependencies already started only support java8 (ph >>>> css) >>> Javafx should be doable with java 7, too. >>> But we would have to add the jfxrt.jar (or whatever it is called) top the >>> classpath when running/compiling on java 7. >> I am afraid of issues when used with Java8. >> >> >> Also as Java7 is in eol, I think we should consider switching to java8. >> It has a lot of useful features. >> >> >>> Regards, >>> Felix >>> >>>> Regards >>>> >>>> >>>> On Sunday, June 5, 2016, Antonio Gomes Rodrigues <ra0...@gmail.com >>> <javascript:;>> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> In "View Results Tree" we can see the response in HTML format. >>>>> >>>>> It's a great feature to dedug a script and to understand what failed >>>> during >>>>> a load test (with only error box checked). >>>>> And, to my knowledge, not all the load test tool have this feature >>>>> >>>>> Unfortunately JEditorPane is only compatible with HTML 3.2 >>>>> >>>>> I have try to find a framework which support HTML 5 to replace >>>> JEditorPane >>>>> without success. >>>>> >>>>> The only solution I have find is to use JavaFX webview but it seem to >>>> be >>>>> complexe to integrate it in JMeter code (webview is easy to mix it >>>> with >>>>> Swing code but in the case of JMeter, it seems more complexe) >>>>> Another problem with the mix between Swing and JavaFX is that we need >>>> to >>>>> have a thread more (one to render Swing + one to render JavaFX). >>>>> >>>>> Anybody have an idea to add HTML 5 in View Results Tree? >>>>> Or to make a screenshot each time an error occur >>>>> >>>>> If yes, I can try to implement it because I think it's a killer >>>> feature to >>>>> understand the result of load test >>>>> >>>>> Thank >>>>> Antonio >>>>> >>> >> -- >> Cordialement. >> Philippe Mouawad. >>