reduced and any domain expert may prepare and
apply new acceptance tests. In Table 5, unit time
requirements for the tool we propose is given.
As a result, it takes 12 units of time to create the
first test plan. After that, sequential test plans only
require 2 units of time. In addition, they can be
prepared by any domain expert.
Table 5: Web service testing tool unit time requirements.
Operation
Unit
Time
Required
Explanation
Preparation of
configuration
file
10
The technical information
about the web service is
prepared by the developer
Preparation of
Gherkin
string
2
Any domain expert may
prepare the tests using Gherkin
5 CONCLUSIONS
We have presented a new tool to ease the creation of
web service test scenarios and test software. The tool
we presented, uses the Behavior-Driven
Development concept with Gherkin language to
generate test scripts dynamically. First benefit of our
tool is: since Gherkin is a domain specific language,
any domain expert without software knowledge can
create and run web service tests. Second, developers
are not required to write unit tests manually, since
we used the powerful testing tool JMeter. We
believe that similar BDD testing approaches will
become more popular in the near future.
REFERENCES
Apache Software Foundation, 2016. Apache JMeter.
Available at: http://JMeter.apache.org/ (Accessed at:
10 January 2016).
Behat, 2016. Writing Features. Available at:
http://docs.behat.org/en/latest/guides/1.Gherkin.html
(Accessed at: 10 January 2016).
Bozkurt M., Harman M., Hassoun Y., 2013. Testing and
verification in service-oriented architecture: a survey.
In Softw Test Verif Reliab vol. 23 pp. 261–313.
Evans E., 2003. Domain-driven design, Addison-Wesley
Professional, Boston, pp. 123–135.
F. J. Lopez-Pellicer, M. Á. Latre, J. Nogueras-Iso, F. J.
Zarazaga-Soria, J. Barrera, 2014. Behaviour-Driven
Development Applied to the Conformance Testing of
INSPIRE Web Services. In Connecting a Digital
Europe Through Location and Place Lecture Notes in
Geoinformation and Cartography, pp. 325-339.
Gray M., Goldfine A., Rosenthal L., Carnahan L., 2010.
Conformance testing. In Information technology
laboratory, NIST. Available at: http://www.nist.gov/itl
/ssd/is/conformancetesting.cfm (Accessed at: 10
January 2016).
Lenberg, Per, Robert Feldt, Lars Göran Wallgren, 2015.
Behavioral Software Engineering: A Definition and
Systematic Literature Review. In The Journal of
Systems and Software vol. 107 pp. 15-37.
Microsoft Developer Network, 2016. What Is Windows
Communication Foundation. Available at:
https://msdn.microsoft.com/en-us/library/ms731082%
28v=vs.110%29.aspx (Accessed at: 10 January 2016).
SmartBear, 2016. SoapUI. Available at: http://www.soap
ui.org/ (Accessed at: 10 January 2016).
Sommerville, Ian, 2007. Software Engineering. Addison-
Wesley. Harlow, England, 8th ed., pp. 537-540.
Osherove, Roy, 2009. The Art of Unit Testing: With
Examples in .NET. Manning, Greenwich, pp. 42-44.
W. T. Tsai, X. Wei, Y. Chen, and R. Paul, 2005. A robust
testing framework for verifying web services by
completeness and consistency analysis. In SOSE ’05:
Proceedings of the IEEE International Workshop, pp.
151–158.
World Wide Web Consortium, 2015. Web Services
Glossary. Available at: http://www.w3.org/TR/ws-
gloss/ (Accessed at: 10 January 2016).
APPENDIX A
<TestConfig
<!-- XML Schemas -->>
<MethodList>
<Method>
<Name>DebtInquiry</Name>
<Url>
http://localhost:4444/Invoic
eService.svc?wsdl
</Url>
<Action>
http://tempuri.org/IInvoiceS
ervice/DebtInquiry
</Action>
<Request>
<!--SOAP Request -->
</Request>
<ThreadCount>100</ThreadCount>
<AssertionList>
<Assertion>
<Key>Positive</Key>
<ObjectName>
IsDebtFound
</ObjectName>
<ObjectValue>
true
</ObjectValue>
</Assertion>