Questions tagged [post-processor]

50 questions
5
votes
1 answer

Parsing JSON with jmeter to pass a json array as it is from previous HTTP response to a new HTTP Request

I had a query regarding fetching a part of json response obtained from 1st request in jmeter to form a new HTTP request. I wanted to extract 1 block of info json (as it is) with doubles quotes and colon as a part of 2nd HTTP request. { …
Chaitra
  • 77
  • 1
  • 1
  • 4
4
votes
1 answer

Best way for imlement Strategy design pattern in Spring

I want implement strategy design pattern in spring boot application. I create BeanPostProcessor for construct strategy resolver: @Component public class HandlerInAnnotationBeanPostProcessor implements BeanPostProcessor { private final…
ip696
  • 6,574
  • 12
  • 65
  • 128
3
votes
1 answer

JMeter- extract multiple variables from JSON response and save it in CSV file

I have seen several posts related to this, but I couldn't find a close match to my scenario, hence posting it as a new question. I have a below JSON response { "myshop": [ { "url": "test1", "hits": 1000 }, { "url":…
Butner
  • 81
  • 1
  • 9
3
votes
1 answer

Is it possible to trigger Packer's post-processor skipping the build step?

Let's asume I have a Packer file named windows_10.json. I ran packer build windows_10.json and it takes 3 to 4 hours to build a VirtualBox image of Windows 10. The build process finishes successfully and creates a VirtualBox image consisting of a…
Wlad
  • 2,866
  • 3
  • 28
  • 42
3
votes
1 answer

Advanced Post-process CSS: group "media query" and "equal rules", remove "unused properties"

I'm looking for a "CSS Post-processor" that will optimize a CSS file. For example, I know that that are tool that minimize .css files but I would like something that go further in this optimization. Here are some example of possible criteria: 1)…
Luca Detomi
  • 5,564
  • 7
  • 52
  • 77
2
votes
1 answer

How to extract multiple (random) values from the same json node

I'm trying to capture multiple values from a JSON Response I get but seem to be unable to get them from the same random node. I've tried to place multiple variables in the same extractor using ";" and this works but it goes through the nodes…
Dirk R.
  • 171
  • 1
  • 13
2
votes
1 answer

JMETER Last HTTP Response access

There doesn't appear to be a way to access the latest HTTP Response? I've had to create a REGEXP extractor as a bean postprocessor to HTTP requests in order to store the LAST_RESPONSE then extract it from the vars as needs be? I feel like I've…
Mark Gargan
  • 831
  • 1
  • 9
  • 21
2
votes
1 answer

AutoPrefixer vs Prefix-free vs Prefixr

I've been looking online for some Postprocessors for dealing with Vendor Prefixes and these are the libraries I came across. Autoprefixer Prefixr, which will do it for you. Prefix-free, which will also do it for you but client-side. However what…
Michael Schwartz
  • 8,153
  • 14
  • 81
  • 144
1
vote
0 answers

Skip environment post processor for spring starter

I am currently using spring boot with some 3rd parties starter. I want to disable those AutoConfiguration and the EnvironmentPostProcessor in the starter during testing I can disable AutoConfiguration by using @EnableAutoConfiguration(exclude…
HKIT
  • 628
  • 1
  • 8
  • 19
1
vote
1 answer

set a variable in jmeter postprocessor and access in command prompt in NON GUI mode

Is there any way to set an environmet variable in JMeter and access outside in command prompt after finishing jmeter script in non gui mode? I have a script which has name of person which is extracted from JSON Extractor and I want to display…
Aquaman
  • 43
  • 5
1
vote
1 answer

jMeter BeanShell postprocessor synchronization

I have some performance tests in jMeter and in one HTTP request I have BeanShell PostProcessor. It should write user email address at the top of CSV file (newest on top). Its very important, that this file is sorted. import…
medy75
  • 652
  • 11
  • 33
1
vote
3 answers

I am doing correlation in Jmeter. I am facing below issue to find the Regular expression

Above is the token I am getting in the request output. I am unable to replace this with a regular expression in Regular Expression Extractor of…
1
vote
1 answer

Are there ways to perform postCSS processing withouth gulp or grunt. Only with help of maven?

I want to perform postprocessing in my project with help of postCSS. As I'm new in frontend I read only ways to perform it by frontend build system (grunt or gulp). But maybe the ways to postpocess only with maven?
blond1995
  • 27
  • 4
1
vote
2 answers

JMeter: Application of Pre-Processor and Post-Processor

I would like to know the Application of Pre-Processor and Post-Processor in JMeter.
Anonymous
  • 858
  • 4
  • 27
  • 54
0
votes
0 answers

(spring source code)Optimizing the Iteration of BeanPostProcessors in Spring Framework

During the creation and initialization of beans, I've noticed that Spring iterates over all registered BeanPostProcessors for every bean, invoking each one that matches the current lifecycle phase through an instanceof check. Given that the number…
1
2 3 4