In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
The information comes from the Internet.
1. Create a new DataSource, select Excel (requires Excel2003 format), select line number, set start line and end line, set rules, trim, etc.
two。 In the outline that returns the result, you can directly select a record to transfer to the parameters of another step
3.DataSource Loop Settings: insert a DataSource loop step, set the data source of the loop and execute the steps
4. Insert verification point: select step, select response, select preporety contends, select message contents assertion cannot be dynamically fetched from Excel. If loop contains non-standard content, you need to use script to break it.
5. Use the script assertion method: post page, click the add assertion button on the left side of the address bar, then select Script, open the script editing page, getdata in the page, get the corresponding value from response, get the corresponding value from DataSource, and assert it with the assert variable .equels (exp), so you can use the DataSourceloop function.
6. In DataSource, click the wrench symbol, and in the dialog box that opens, you can select Trims datavalue and unspace the parameters.
7. On the testcase details page, click on the wrench, you can select fail tast cast on error, and check "error". This use case does not continue.
The return value of the last method called by 8.groovy is the return value of the current groovy script. In another step, you can directly use its return xx to receive the return value as a parameter.
Groovy plug-in for 9.eclipse: http://dist.springsource.org/release/GRECLIPSE/e4.3/
10. [error: see 37] for optional parameters, two use cases are required, which are used when encrypting, and when parameterized, optional parameters are removed:
11.loadtest can do simple performance testing.
twelve。 In the row window on the left, you can see the complete assembled post request url
If a returned row contains more than one Set-Cookie
/ / get the token value of the login
Def cookiesList = testRunner.testCase.getTestStepByName ("DoLogin.html"). TestRequest.response.responseHeaders ["Set-Cookie"]
Def cookieSessionKey
Def cookieSessionKeyValue
For (iSuppli)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.