Skip to Content
0
Former Member
Nov 28, 2006 at 07:56 AM

Problems with testing SyncBO

39 Views

Hi Guru's,

My client has a requirement for changing characteristics data for functional locations. For this I used following steps:

- create a copy of mam25_030 and changed the mapping for this syncbo.

- copied changed merepmeta.xml to client, and added getters/setters to the methods

- changed mapping.xml and syncbonamelist.properties, to point to the new syncbo

Now I'm having this problem:

When I test the client sending the data back to the middleware, I can see in the monitoring that the changed data is being sent back to the middleware.

I want to unit-test my changed syncbo to write the changed data back to the backend. For this I want to use MEREP_EMULATOR.

<b>I'm having trouble testing my new syncbo using merep_emulator. It seems that most of the time, the change method is not being called.</b>

Furthermore when it is called, all parameter tables are empty, apart from the funclocID.(When I sync from the frontend client to the middleware, the changed data is sent to the middleware)

Can you answer following questions please:

1. What is the right sequence to test the syncbo using merep_emulator. (can I pick any message from any device?)

2. How can I make sure the change method is being called.

3. How can I test AND DEBUG the syncbo using merep_emulator

4. Did I forget something, or make a false assumption on the process?

Many Thanks in advance,

Karst