01: package org.apache.synapse.samples.n2n;
02:
03: import org.apache.synapse.SynapseConstants;
04: import samples.userguide.StockQuoteClient;
05:
06: /**
07: *
08: */
09: public class SynapseSample_8_Integration extends
10: AbstractAutomationTestCase {
11:
12: protected void setUp() throws Exception {
13: System.setProperty(SynapseConstants.SYNAPSE_XML,
14: SAMPLE_CONFIG_ROOT_PATH + "synapse_sample_8.xml");
15: System.setProperty("addurl",
16: "http://localhost:9000/soap/SimpleStockQuoteService");
17: System.setProperty("trpurl", SYNAPSE_BASE_URL);
18: System.setProperty("mode", "customquote");
19: super .setUp();
20: }
21:
22: public void testSample() throws Exception {
23: String resultString = getStringResultOfTest(StockQuoteClient
24: .executeTestClient());
25: // assertXpathExists("ms:CheckPriceResponse", resultString); todo : fix me
26: }
27: }
|