Extract JSON content efficiently with JMeter using JSON PATH syntax with UBIK-LOAD-PACK

on 28 January AJAX, JMETER, JSON, LOAD_TESTING, PERFORMANCE, PRODUCTIVITY and Tags: , , , , , with 0 comments

Context: Edit : 9th november 2014: Read up to date using last version of our plugin here. You use JMeter and want to test an application that massively uses JSON data as exchange format. JSON has become a de-facto standard nowadays and is used often: Of course you can still extract content with core JMeter […]

Read more

JMeter : SwitchControler or How to run a sampler with a certain percentage

on 30 December GROOVY, JMETER, LOAD_TESTING, PERFORMANCE and Tags: , , , with 1 comment

Context: Example: SwitchControler or How to run a sampler with a certain percentage: Create a Test Plan like this one: // Array of values that contain the % repartition we want int[] values = (int[])vars.getObject(“RANDOM_VALUES”); if(values==null) {     values =  [0,1,2,3,2,3,1,3,2,3] as int[];     vars.putObject(“RANDOM_VALUES”,values); } // Increment that will be used in SwitchController value […]

Read more