Version 0.0.59 * Enhancements * Perform ERB in headers to make using access_token using 'headers' possible * Try better way of testing `soaspec-init`. Version 0.0.58 * Enhancements * Add method to set parts of the request body through `exchange[key]= 'value'` * Added example of Cucumber feature demonstrating this Version 0.0.56 * Bug fix * Handle creating of traffic.log file within lib properly Version 0.0.55 * Enhancements * Made `soaspec-virtual-server` exe to handle self served test server. Will be used in wiki tutorial Version 0.0.54 * Enhancements * Make 'headers' accessor for setting headers on RestHandler easier Version 0.0.53 * Enhancements * Make attribute possible for REST methods as well (as they can use XML too) * For non XML, non JSON responses, handle with regex or key for a Hash Version 0.0.52 * Enhancements * Now have 'attribute' accessor making it easy to access an attribute from a response Version 0.0.51 * Enhancements * Allow for 'default_hash=' method to be used in RestHandler. See 'many_calls_one_method_spec' for example * Got 'element' accessor working correctly (See soap/hash_spec.rb + 'blz_service' for example) Version 0.0.50 * Enhancements * Able to use ERB in oauth parameters and extract oauth hash with 'oauth_response' method defined by 'oauth_file' Version 0.0.47 * Bug Fix * Using 'Strip namespace' handle both namespace or not dependent if used Version 0.0.47 * Enhancements * 'success scenarios' shared eg and 'retry_for_success' exchange method's status codes include 200..299, not just 200. Version 0.0.46 * Enhancements * 'include_key?' method use 'value_from_path'. Iterating through Hashes with 'include_key?' wouldn't work as expected with some JSON bodies with my current implementation Version 0.0.45 * Enhancements * No need to use 'name' when creating SoapHandler and RestHandler. Default is ClassName Version 0.0.44 * Enhancements * Test Server log to logs/test_server.log * Simplify ExchangeHandler storing and retrieving values (see soap/hash_spec.rb) * Make setting SoapHandler operation and other params possible through object instantiation. Less code needed Version 0.0.43 * Bug fix * Remove Environment namespace from 'soaspec-generate' * Enhancements * Convenience methods for REST calls in which you can call something like 'ClassInheritingRestHandler.get(params)' See 'spec/soaspec/rest/one_off_spec.rb' for details Version 0.0.42 * Enhancements * Set Soaspec.api_handler work class is created. No need to call '.to_s' method Version 0.0.41 * Bug fix * soaspec-generate not designed to work with virtual service. Rakefile not try to set that up Version 0.0.40 * Enhancements * soaspec-generate now handle a wsdl without parameters in the operation and rather look up input element type * test_server virtual service now handle scenario where bank is not found and test made for that Version 0.0.39 * Spec * Create task to use soaspec-init to create test structure and test it. * Enhancements * Take away need to use Environment namespace * Added response headers to REST response log * Now using virtual Web Service for SOAP Version 0.0.38 * Bug fix * Fixed error in soaspec-generate. TODO: Test this in CI Version 0.0.37 / 2018-3-16 * Enhancements * Made retry_for_success method to keep making request until 200 status code if set on exchange * If '$' not included for json_path, by default a '$..' is added for convenience Version 0.0.36 / 2018-3-15 * Bug fix * Make test name log in correct place * Enhancements * Made accessor 'mandatory_json_values' to make it easier to share mandatory json path - value pairs * Created 'store' method for handler through which one can store a value and use it later on it in the same context * Deprecated * Removed old 'mandatory_elements', 'mandatory_xpath_values' overridden way of handling data for favor of new way of it setting 'expected_mandatory_elements' Version 0.0.35 / 2018-3-13 * Enhancements * Handle array of JSON hashes starting with '[' * Handle patch and put methods with data for REST Version 0.0.34 / 2018-3-12 * Enhancements * Add oauth2 and oauth2_file methods to make it easy to load oauth2 parameters. Still a work in progress to handle all oauth2 variations Version 0.0.33 / 2018-3-9 * Enhancements * Use 'jsonpath' instead of dig to check JSON responses. Much better for finding complex paths Version 0.0.32 / 2018-3-9 * Enhancements * Made :body key in hash that can be used to use JSON.generate for a payload when using rest_handler exchanges Version 0.0.31 / 2018-3-8 * Enhancements * Compacted unit tests for exchange handler * Implemented include_key? and find via xpath for REST handler. See specs Version 0.0.30 / 2018-3-6 * Bug fix * Made generated class file name in soaspec-generate snakecase (was CamelCase) Version 0.0.29 / 2018-3-6 * Refactorings * Base 'test' class from 'Tester' to 'ExhangeHandler' * Made default Soap Handler class 'SoapHandler' and making use of 'BasicSoapHandler' deprecated Version 0.0.28 / 2018-3-6 * Enhancements * Added not_found matcher and used in spec example * Only call request upon first need of an Exchange response. This means test request is made as part of 'it' rather than in describe Version 0.0.27 / 2018-3-5 * Bug fix * Fixed log file not present error * Updated exe binaries to use latest format Version 0.0.26 / 2018-3-5 * Refactorings * Using methods to define mandatory_elements, mandatory_xpath_values, root_attributes, base_url. Please see specs. This is shorter to type and clearer Version 0.0.25 / 2018-2-25 * Enhancements * Updated rest_handler to convert JSON and XML into Hash and use it in 'contain_value'. This still needs work. * Showed example of workflow using 'pet' url Version 0.0.24 / 2018-2-25 * Enhancements * Added to soaspec-generate more types when creating YAML with data (int, boolean, double and custom enumeration). * Binaries use common module (exe-helper) to reduce repeatability * TODO: soaspec-generate read xsd's mentioned to import in WSDL schema Version 0.0.23 / 2018-2-23 * Enhancements * Created RestHandler class (Very messy and ugly still) to handle REST requests using style used for SOAP using Rest Client resource Version 0.0.22 / 2018-2-15 * Enhancements * Created new 'include_in_body' matcher to find value anywhere in response body (which could be a substring of an element) Version 0.0.21 / 2018-1-29 * Enhancements * Added soaspec-generate - still in POC mode to generate files from a WSDL. * Added test_wsdl to start at validating xml according to WSDL. Still needs polishing Version 0.0.20 / 2018-1-26 * Enhancements * Added ability to strip namespaces 'Soaspec::Environment.strip_namespaces = true'. See spec for example * Fixes * Made custom error and used it to make 'have_element_at_xpath' work when negated Version 0.0.19 / 2018-1-25 * Enhancements * Added own shared examples to init script and to in built specs Version 0.0.18 / 2018-1-25 * Fixes * Updated 'soaspec-init' so that it works again. * Enhancements * Added example showing representing data for request in YAML Version 0.0.17 / 2018-1-25 * Fixes * Updated hash search so that it handles Array Version 0.0.16 / 2018-1-23 * Fixes * Corrected logic of auto convert to hash. Previous version did not handle test specific values correctly Version 0.0.15 / 2018-1-23 * Fixes * Updated code to convert string key in Savon request to key automatically by default before passing to Savon. This saves the user doing the conversion themselves. Version 0.0.14 / 2018-1-23 * Fixes * Updated 'xml_to_yaml_file' exe to clean up YAML more. No more array for Hash value. Indenting needs work though. Now it's more like something you can read and pass into Savon request. Version 0.0.13 / 2018-1-23 * Enhancements * Executable to create xml file from yaml Version 0.0.12 / 2018/1-22 * Enhancements * Example name added to log file Version 0.0.10 / 2018-1-21 * Enhancements * Added [] method to perform xpath assertion * Using Savon xpath. No need to explicitly provide namespace for xpath Version 0.0.9 / 2018-1-20 * Refactoring * class_options -> savon_options - More specific * default_operation -> operation - Not default anymore so better not in name * Enhancements * Made mandatory_xpath_values method to add to 'success scenarios' shared example Version 0.0.8 / 2018-1-19 * Enhancements * Added root_attributes method to add attribute to the root class Version 0.0.7 / 2018-1-19 * Enhancements * Added contain_key matcher * mandatory_elements method created for SoapHandler - can be used to add tests to success scenarios (see example get_weather_web_service class for details)