Description of problem: activationkey.create() from the xmlrpc apis, allows a negative "usageLimit" to be passed in. The docs state "-1" is valid and will be considered as "unlimited". Assumption is, other negative values would throw an exception. Prior QA api tests were passing in a value of "-45" and expecting this to throw an exception with wording: Usage Limit cannot be less than 0. Version-Release number of selected component (if applicable): Satellite-5.3.0-RHEL5-re20090213.1-i386-embedded-oracle.iso How reproducible: always Steps to Reproduce: 1. Run test: com.redhat.rhn.rpc.api.activationkey.create::testActivationkeyCreateWithNegativeUsageLimit() 2. Observe no exception is thrown. 3. Actual results: exception is thrown Expected results: no exception thrown, key is set to "unlimited" usage.
Turns out I had a configuration error in api automation setup and was running against an older ISO. Closing this as it works as intended with current iso.