Skip to main content

Posts

Showing posts with the label automated

Automated remote deployment of Webcenter ear to our development enviroment

All the usual undeploy / stop start code worked remotely but unfortunately the deploy was not going as planned - I wanted to set the MDS info on deployment so it was time for a new plan. So this time on our build server would call WLST to deploy our web center app on the development weblogic enviroment. Wlst commands I used: Connect   connect('weblogic','bobsentme', ''t3://remote.wl:7001') Stop   shutdown('ManagedServer1', force='true') Start   start(start('WC_Cluster', 'Cluster', 't3://remote.wl:7001')); Deploy archive = getMDSArchiveConfig(fromLocation='/tmp/pathto.ear') archive.setAppMetadataRepository(repository='mds-CustomDS', partition='dev_partition', type='DB', jndi='jdbc/mds/CustomDS')"); archive.save() deploy(appName='OurAppName', path='/tmp/pathto.ear', targets='WC_Cluster', stageMode='stage',   upload=...

ADF : Automated testing lessons learned

Ok needed to help with some performance testing of our ADF apps login process and struggled a bit with some of the stuff so here are my findings: Firefox and Tamper Data: https://addons.mozilla.org/en-US/firefox/addon/tamper-data/ So so handy for catching all your post and get parameters cookies and headers. A must for automated testing to see what is going on in your app. More of a diagnostic tool. JMeter:  http://jmeter.apache.org/ Really really cool once I had found Chris Muirs post on setting up jmeter for ADF. (link below). You can make complicated test cases here very easily and run them any number of times in the ide. Very handy for doing volume testing. BadBoy: http://www.badboy.com.au/ If you want something that will record what you are doing/ click in your browser and export your scripts to JMeter for automated testing this is the tool for you. Selenium: http://seleniumhq.org/ Holy moly this is so easy to use and test with - just fire up firefox start the s...