
io.gatling.highcharts.component.RequestDetailsResponseTimeScatterComponent.scala Maven / Gradle / Ivy
/**
* Copyright 2011-2016 GatlingCorp (http://gatling.io)
*
* Licensed under the Gatling Highcharts License
*/
package io.gatling.highcharts.component
import io.gatling.core.stats._
import io.gatling.highcharts.series.ScatterSeries
import io.gatling.highcharts.template.RequestDetailsScatterTemplate
object RequestDetailsResponseTimeScatterComponent {
def apply(success: Series[IntVsTimePlot], failures: Series[IntVsTimePlot]) = {
val template = new RequestDetailsScatterTemplate(
new ScatterSeries(success.name, success.data, success.colors.head),
new ScatterSeries(failures.name, failures.data, failures.colors.head),
"container_response_time_dispersion",
"Response Time against Global RPS",
"Response Time"
)
new HighchartsComponent(template)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy