Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-autotest-live
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-autotest-live
Commits
9cb2daf4
Commit
9cb2daf4
authored
Feb 02, 2021
by
zhangying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review
parent
875ead12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
src/main/java/com/live/cases/largeClassLive/TestGetLargeClassLiveList.java
+23
-0
No files found.
src/main/java/com/live/cases/largeClassLive/TestGetLargeClassLiveList.java
View file @
9cb2daf4
...
@@ -25,6 +25,29 @@ public class TestGetLargeClassLiveList extends XMBaseTest {
...
@@ -25,6 +25,29 @@ public class TestGetLargeClassLiveList extends XMBaseTest {
}
}
/**
/**
* 大班直播课列表数据
*/
@Test
public
void
testGetLargeClassLiveList
()
{
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"instId"
,
"1235115978015883266"
);
jsonObject
.
put
(
"current"
,
"1"
);
jsonObject
.
put
(
"size"
,
"10"
);
System
.
out
.
println
(
"jsonObject ="
+
jsonObject
);
xmAppApi
.
doRequest
(
RequestType
.
JSON
,
params
,
jsonObject
.
toJSONString
(),
headers
);
System
.
out
.
println
(
xmAppApi
);
JSONObject
jsonBody
=
xmAppApi
.
getBodyInJSON
();
System
.
out
.
println
(
"jsonBody ="
+
jsonBody
);
Assert
.
assertNotEquals
(
0
,
jsonBody
.
getString
(
"total"
));
Assert
.
assertEquals
(
"true"
,
jsonBody
.
getString
(
"success"
));
Assert
.
assertEquals
(
"200"
,
jsonBody
.
getString
(
"code"
));
}
/**
* 大班直播课列表数据-详细查询
* 大班直播课列表数据-详细查询
*/
*/
@Test
@Test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment