جهت دریافت ترجمه و متن کامل مقاله لطفا نسبت به خرید اقدام فرمایید
Test case selection for regression testing of applications using web services based on WSDL specification changes
Abstract:
There is much enthusiasm around web services in today's world. Web Services take the advantage of internet to communicate between two electronic devices connected via a network. Testing a Web Service is a challenge as the Service Requester does not have the source code and somehow needs to fully test the impact of changes on his application. Regression testing verifies the integrity of the application and makes sure that the changes have not introduced new software errors. Our approach involves the parsing of the WSDL XML file to extract information regarding the operation name, input message and output message. Both the original and changed XML files for the web service are parsed to extract their respective information from the port type and message element of WSDL. Then, we generate a hash table form the extracted information for both the original and delta WSDL. We pass the hash tables to a Comparator as input, which then compares the hash tables and generates the operation changes as output. In the last step test cases are selected for regressing testing of the changed web service based upon the changes in operations provided by the comparator.
Keywords—Web Services; Regression Testing; Hash Table; WSDL.
انتخاب مورد آزمون برای آزمون رگرسیون برنامههای کاربردی با استفاده از وب سرویسها براساس تغییر مشخصات WSDL
چکیده
اشتیاق زیادی نسبت به وب سرویسها در جهان امروز وجود دارد. وب سرویسها از اینترنت برای ارتباط بین دو دستگاه الکترونیکی متصل از طریق شبکه استفاده میکنند. آزمون وب سرویس چالشی است که یک درخواستکنندهی سرویس کد منبع را ندارد و بهنوعی نیاز به تست کامل تاثیر تغییرات در نرمافزار دارد. تست رگرسیون یکپارچگی نرمافزار را تایید میکند و اطمینان حاصل میکند که تغییرات خطاهای نرمافزار جدید معرفی شده است. روش ما شامل تجزیه فایل WSDL XML برای استخراج اطلاعات مربوط به نام عملیات، پیامهای ورودی و پیامهای خروجی است. هر دو فایل اصلی و تغییریافتهی XML برای وب سرویس برای استخراج اطلاعات مربوطهی خود از نوع پورت و عنصر پیام WSDL تجزیه شده است. پس از آن، یک جدول هش از اطلاعات استخراج شده برای هر دو WSDL اصلی و دلتا ایجاد شده است. جداول هش به یک مقایسهکننده به عنوان ورودی وارد میشود، پس از آن جداول هش مقایسه شده و تغییرات عملیات را بهصورت خروجی تولید میکند. در مرحلهی آخر آزمون موارد برای تست رگرسیون از وب سرویسهای تغییر یافته انتخاب خدمات بر اساس تغییرات در عملیات ارائه شده توسط مقایسه کننده انتخاب میشود.
کلمات کلیدی: وب سرویسها؛ آزمون رگرسیون؛ جدول هش. WSDL