cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to capture requests sent to an endpoint?

SOLVED
Highlighted
New Contributor

Is it possible to capture requests sent to an endpoint?

Hi 

 

I have the following situation: 

 

1. External system 1 send information to Service A

2. Service A puts the data into a queue

3. Service B takes the info from the queue and after processing the data, send the data onto External System 2.

 

There are no responses sent back to External System 1 except for a HTTP 200-ok code.

What i would like to verify in my tests is the request send to External system 2 from Service B.
Is there any way to capture the request information and assert the data being sent to System 2 is correct?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super Contributor

Have you looked at using Events? In particular the RequestFilter.filterRequest event, the documentation states "Triggers prior to the request being sent, but after the request is created."

View solution in original post

2 REPLIES 2
Highlighted
Super Contributor

Have you looked at using Events? In particular the RequestFilter.filterRequest event, the documentation states "Triggers prior to the request being sent, but after the request is created."

View solution in original post

Highlighted
Moderator

Hi all,

 

Thanks for this note, @Radford.

 

@lamplessgenie, was this helpful? Have you found a way to implement your task?


Olga Terentieva
SmartBear Assistant Community Manager

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors