ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Mocking resources in a flow

Post new topic  Reply to topic
 Mocking resources in a flow « View previous topic :: View next topic » 
Author Message
urufberg
PostPosted: Mon Apr 27, 2020 7:33 am    Post subject: Mocking resources in a flow Reply with quote

Apprentice

Joined: 08 Sep 2017
Posts: 28

Hi,

To keep the post simple, I'm trying to gather ideas from the community on how to tackle mocking on IIB. Specifically I'm interested if anyone can share how do you go about mocking a database having a jdbc connection and using a db model (with mapping nodes).

Everything I can find about unit testing is solely focused on recording messages and replay to get expected results (which I'm fine for integration purposes) but i'm failing to achieve independence when it comes to decouple from external resources.

Any ideas/material I can refer to?

Thanks in advance
Back to top
View user's profile Send private message
lfrestrepog
PostPosted: Mon Apr 27, 2020 11:16 am    Post subject: Reply with quote

Novice

Joined: 08 Jul 2014
Posts: 22

Hi, hello.

Perhaps you can use citrus framework for that, it supports JDBC mocking. I have not yet tried it myself, but should do just fine.

http://citrusframework.org/citrus/reference/2.8.0/html/index.html#jdbc

Hope it helps. Regards.
_________________
--
Luis Fernando Restrepo Gutiérrez
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Mocking resources in a flow
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.