Measuring quality of service for contract aware web services