JUnitWeb Https
Ho appena iniziato ad utilizzare JWebUnit e ho già un problema: le chiamate in https. Purtroppo il servizio è tutto in https. Non ho scelta. Devo affrontare il problema. Per fortuna ho trovato la soluzione, da richiamare durante il setUp del test:
public class ExampleWebTestCase extends WebTestCase {
public void setUp() throws Exception {
XTrustProvider.install();
super.setUp();
setBaseUrl("https://myresource.abc");
}
//
}
pm :: May.27.2009 :: italian :: No Comments »
