Class RenderAsJSON

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      RenderAsJSON()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void renderResult(SampleResult sampleResult)
      static String prettyJSON(String json) Pretty-print JSON text
      static String prettyJSON(String json, String tabSeparator) Pretty-print JSON text
      String toString()
      • Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab

        clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
      • Methods inherited from class org.apache.jmeter.visualizers.ResultRenderer

        setRightSide, setSamplerResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RenderAsJSON

        RenderAsJSON()
    • Method Detail

      • renderResult

         void renderResult(SampleResult sampleResult)
      • prettyJSON

         static String prettyJSON(String json)

        Pretty-print JSON text

        Parameters:
        json - input text
        Returns:

        prettied json string

      • prettyJSON

         static String prettyJSON(String json, String tabSeparator)

        Pretty-print JSON text

        Parameters:
        json - input text
        tabSeparator - String tab separator
        Returns:

        prettied json string