Activities of "Yaduraj"

Thank you @enisn

I have to test a client in my app which will further be commnicating to a third party rest Api. As of now I would like to Mock or fake that Api in my Unit Testing project. Does ABP provides integration to any mock framework like Moq. I specifically want to Unit Test API Calls. How can I mock API calls in abp framework for Unit Testing using xUnit/Moq

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Thanks @liangshiwei,

We actually followed the same example and it works locally but when we deploy in IIS, the handler is not getting called.

I have two microservices apliations say App1 and App2 hosted on an IIS server. I am using IDistributedEventBus (https://docs.abp.io/en/abp/latest/Distributed-Event-Bus) to Publish event that contains only a GUID property. App1 successfully publishes the event and the message getting added to Queue in RabbitMQ. But the HandleEventAsync method of IDistributedEventHandler in App2 is not being called even if the App2 is in always running mode. Sometimes, HandleEventAsync gets called when we explicitly call an API of App2.

What can be the issue? Am I missing something?

  • ABP Framework version: v3.0.4
  • UI type: Angular / MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace: None
  • Steps to reproduce the issue: None
Showing 21 to 24 of 24 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11