uk.ac.soton.ecs.grimoires.test.uddiv2
Class ServicePerformanceTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byuk.ac.soton.ecs.grimoires.test.uddiv2.BusinessLogicTestCase
              extended byuk.ac.soton.ecs.grimoires.test.uddiv2.WebServiceTestCase
                  extended byuk.ac.soton.ecs.grimoires.test.uddiv2.ServicePerformanceTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ServiceBLPerformanceTestCase

public class ServicePerformanceTestCase
extends WebServiceTestCase

Author:
wf TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
protected  String currentConfiguration
           
protected  String dataFileName
           
static int EXPECTED_SERVICE_NUMBER
           
protected  long firstGCTime
           
protected  boolean gcSyn
           
protected  PrintStream out
           
static int SERVICES_PER_MEASUREMENT
           
 
Fields inherited from class uk.ac.soton.ecs.grimoires.test.uddiv2.WebServiceTestCase
inquireEndpoint, inquireMetadataEndpoint, inquireUDDIMetadataEndpoint, publishEndpoint, publishMetadataEndpoint, wsdlEndpoint
 
Fields inherited from class uk.ac.soton.ecs.grimoires.test.uddiv2.BusinessLogicTestCase
AUTHINFO, GENERAL_KEYWORDS_TMODEL_KEY, GENERIC, inquireImpl, inquireMetadataImpl, inquireUDDIMetadataImpl, KEY_NAME, keyList, publishImpl, publishMetadataImpl, wsdl, WSDL_SPEC_CB
 
Constructor Summary
ServicePerformanceTestCase(String name)
           
 
Method Summary
 void doTest()
           
static void main(String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testServicePerformance()
           
 
Methods inherited from class uk.ac.soton.ecs.grimoires.test.uddiv2.BusinessLogicTestCase
chooseTModel, getServiceNumber, test0010SimpleBusiness, test0020ComplexBusiness, test0030TModel, test0040Service, test0041Get_ServiceDetail, test0042FindServiceByInterface, test0101SaveService, test0102GetService, test0103DeleteService, test0111SaveServiceWithMetadata, test0112GetServiceByMetadata, test0121SaveService, test0122GetService, test0200MetadataTriples, test0201MetadataURI, test0300LifetimeBusiness, test0301LifetimeBusiness, test0400AttachMetadataToMessagePart, test0500SaveBindingTemplate, testGetServiceWithGeneralKeywords, testSaveServiceWithGeneralKeywords
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXPECTED_SERVICE_NUMBER

public static int EXPECTED_SERVICE_NUMBER

SERVICES_PER_MEASUREMENT

public static int SERVICES_PER_MEASUREMENT

currentConfiguration

protected String currentConfiguration

dataFileName

protected String dataFileName

gcSyn

protected boolean gcSyn

firstGCTime

protected long firstGCTime

out

protected PrintStream out
Constructor Detail

ServicePerformanceTestCase

public ServicePerformanceTestCase(String name)
Parameters:
name -
Method Detail

testServicePerformance

public void testServicePerformance()
                            throws Exception
Throws:
Exception

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class WebServiceTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class BusinessLogicTestCase
Throws:
Exception

doTest

public void doTest()
            throws Exception
Throws:
Exception

main

public static void main(String[] args)