CUAHIS-HIS
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy

WaterOneFlow WebServices Testing

RSS
Modified on 2008/09/30 15:55 by valentinedwv Categorized as Uncategorized

Testing Logic

Have a data provider that provides a list of series rows that can be used to search


Testing GetValues

When testing GetValues, make sure that you expand any date times

Test With Date Ranges

Daily Values

  • IF count is small, test null date range
  • Test with 1 year/month/1 day date range
  • Test with 1 year date range
  • Test with start range
  • test with end range
  • submit data that is outside of range

Real Time

  • If 31 days only
    • submit null range, come back with 31 days
    • submit 1 hour range, get correct number of results
    • submit end 31 days before present, should get error
    • submit

Samples like EPA

  • IF count is small, test null date range
  • Test with 1 year/month/1 day date range
  • Test with start range
  • test with end range
  • submit data that is outside of range

Generic ODM

  • IF count is small, test null date range
  • Test with 1 year/month/1 day date range
  • Test with 1 year date range
  • Test with start range
  • test with end range
  • submit data that is outside of range

Testing GetVariable

  • for each variable code
    • Test code
    • Test various properties, DataType,ValueType...

Testing Unit Tests



Possible Tools

  • http://www.webinject.org/
  • http://www.pushtotest.com/Docs/downloads/pushtotest-for-developers

Queries to get service testing data from HIS Central

select networkname as networkcode, servicewsdl,contactemail from hisnetworks where ispublic = 'True'

go

SELECT TOP (50) Sources.Organization as networkcode, SeriesCatalog.SiteCode, SeriesCatalog.VariableCode, SeriesCatalog.BeginDateTime, SeriesCatalog.EndDateTime FROM SeriesCatalog INNER JOIN Sources ON SeriesCatalog.SourceID = Sources.SourceID ORDER BY NEWID()


ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.