You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In record mode, When Generic dependency(Redis) is used in the application the expected behaviour is that the application run without any problem, but the dependency is getting timed out and giving error.
In test mode, when Generic dependency(Redis) is used in the application and few mock requests like ping calls and quit calls which are not recorded in record mode are encountered, the expected behaviour should be that parser calls the real database via passthrough. But as approximate matching is implemented the calls are getting matched to some other request and incorrect response is supplied in the parser.
In test mode when I run the the application, The application behaves unexpected because there are 2 mocks with same request but different response lets say MockRequest-1 ~ MockResponse-1 and MockRequest-1 ~ MockResponse-2, according to the application when it sends MockRequest-1 for first time it should receive MockResponse-1 and for second time it should receive MockResponse-2. But the situation is vice versa in actual which is causing the error.
In test mode when I run the application in one of the dependency, a mock gets matched but when comes to reset the mock list some other mock gets deleted. There can be few race conditions with resetting the mock list.
Steps to reproduce
Try an application with two dependencies Mongo and Redis with Keploy and record and test few calls. The issue will be replciated.
Environment
Release
Version
Cloud
Repository
keploy
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behavior
In record mode, When Generic dependency(Redis) is used in the application the expected behaviour is that the application run without any problem, but the dependency is getting timed out and giving error.
In test mode, when Generic dependency(Redis) is used in the application and few mock requests like ping calls and quit calls which are not recorded in record mode are encountered, the expected behaviour should be that parser calls the real database via passthrough. But as approximate matching is implemented the calls are getting matched to some other request and incorrect response is supplied in the parser.
In test mode when I run the the application, The application behaves unexpected because there are 2 mocks with same request but different response lets say MockRequest-1 ~ MockResponse-1 and MockRequest-1 ~ MockResponse-2, according to the application when it sends MockRequest-1 for first time it should receive MockResponse-1 and for second time it should receive MockResponse-2. But the situation is vice versa in actual which is causing the error.
In test mode when I run the application in one of the dependency, a mock gets matched but when comes to reset the mock list some other mock gets deleted. There can be few race conditions with resetting the mock list.
Steps to reproduce
Environment
Release
Version
Cloud
Repository
keploy
The text was updated successfully, but these errors were encountered: