Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
0887fada
Commit
0887fada
authored
Jun 17, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dafuwen域名变化
parent
45ee2396
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
种红包新用户_AccessTest.java
src/test/java/http/cases/WalletTest/种红包新用户_AccessTest.java
+1
-1
EditManagerInfoService.java
...est/java/http/service/Manager/EditManagerInfoService.java
+2
-2
SupplierExchangeTemplateService.java
...ava/http/service/app/SupplierExchangeTemplateService.java
+1
-1
MoblieLogin.java
src/test/java/ui/service/MoblieLogin.java
+1
-1
duiba.properties
src/test/profiles/aliyun/duiba.properties
+1
-1
No files found.
src/test/java/http/cases/WalletTest/种红包新用户_AccessTest.java
View file @
0887fada
...
@@ -147,7 +147,7 @@ public class 种红包新用户_AccessTest extends DuibaTestBase{
...
@@ -147,7 +147,7 @@ public class 种红包新用户_AccessTest extends DuibaTestBase{
Response
response
=
editManagerInfoService
.
createUser
(
"种红包新用户"
,
"68"
);
Response
response
=
editManagerInfoService
.
createUser
(
"种红包新用户"
,
"68"
);
Map
<
String
,
Object
>
user
=
jdbc
.
findSimpleResult
(
"select * from dafuweng.user where name = '种红包新用户' and app_id = '68'"
);
Map
<
String
,
Object
>
user
=
jdbc
.
findSimpleResult
(
"select * from dafuweng.user where name = '种红包新用户' and app_id = '68'"
);
uid
=
Integer
.
valueOf
(
user
.
get
(
"id"
).
toString
());
uid
=
Integer
.
valueOf
(
user
.
get
(
"id"
).
toString
());
String
url
=
"http://
dafuweng.dui88.com
/user/loginDuiba?uid="
+
uid
;
String
url
=
"http://
autotest-dafuweng.duibatest.com.cn
/user/loginDuiba?uid="
+
uid
;
Response
login
=
given
().
get
(
url
);
Response
login
=
given
().
get
(
url
);
Map
<
String
,
Object
>
consumer
=
jdbc
.
findSimpleResult
(
"select * from new_consumer.consumer_0010 where partner_user_id =? and app_id = '19380'"
,
uid
);
Map
<
String
,
Object
>
consumer
=
jdbc
.
findSimpleResult
(
"select * from new_consumer.consumer_0010 where partner_user_id =? and app_id = '19380'"
,
uid
);
consumerId
=
consumer
.
get
(
"id"
).
toString
();
consumerId
=
consumer
.
get
(
"id"
).
toString
();
...
...
src/test/java/http/service/Manager/EditManagerInfoService.java
View file @
0887fada
...
@@ -449,7 +449,7 @@ public class EditManagerInfoService {
...
@@ -449,7 +449,7 @@ public class EditManagerInfoService {
public
Response
createUser
(
String
name
){
public
Response
createUser
(
String
name
){
String
url
=
"http://
dafuweng.dui88.com
"
+
"/user/create"
;
String
url
=
"http://
autotest-dafuweng.duibatest.com.cn
"
+
"/user/create"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"appId"
,
"67"
);
map
.
put
(
"appId"
,
"67"
);
map
.
put
(
"name"
,
name
);
map
.
put
(
"name"
,
name
);
...
@@ -464,7 +464,7 @@ public class EditManagerInfoService {
...
@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public
Response
createUser
(
String
name
,
String
appId
){
public
Response
createUser
(
String
name
,
String
appId
){
String
url
=
"http://
dafuweng.dui88.com
"
+
"/user/create"
;
String
url
=
"http://
autotest-dafuweng.duibatest.com.cn
"
+
"/user/create"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"appId"
,
appId
);
map
.
put
(
"appId"
,
appId
);
map
.
put
(
"name"
,
name
);
map
.
put
(
"name"
,
name
);
...
...
src/test/java/http/service/app/SupplierExchangeTemplateService.java
View file @
0887fada
...
@@ -13,7 +13,7 @@ import static io.restassured.RestAssured.given;
...
@@ -13,7 +13,7 @@ import static io.restassured.RestAssured.given;
*/
*/
@Service
@Service
public
class
SupplierExchangeTemplateService
{
public
class
SupplierExchangeTemplateService
{
private
String
dafuwengHost
=
"
dafuweng.dui88.com
"
;
private
String
dafuwengHost
=
"
autotest-dafuweng.duibatest.com.cn
"
;
public
Response
use
(
String
id
){
public
Response
use
(
String
id
){
String
url
=
"http://"
+
dafuwengHost
+
"/supplierExchangeTemplate/use"
;
String
url
=
"http://"
+
dafuwengHost
+
"/supplierExchangeTemplate/use"
;
...
...
src/test/java/ui/service/MoblieLogin.java
View file @
0887fada
...
@@ -10,7 +10,7 @@ import static java.lang.Thread.sleep;
...
@@ -10,7 +10,7 @@ import static java.lang.Thread.sleep;
* Created by mabo on 2018/12/17
* Created by mabo on 2018/12/17
*/
*/
public
class
MoblieLogin
{
public
class
MoblieLogin
{
private
String
dafuwengUrl
=
"http://
dafuweng.dui88.com
/user/index"
;
private
String
dafuwengUrl
=
"http://
autotest-dafuweng.duibatest.com.cn
/user/index"
;
public
MoblieLogin
(
String
uid
,
DuibaBaseUi
father
)
throws
Exception
{
public
MoblieLogin
(
String
uid
,
DuibaBaseUi
father
)
throws
Exception
{
open
(
dafuwengUrl
);
open
(
dafuwengUrl
);
father
.
clickByTextEqual
(
uid
);
father
.
clickByTextEqual
(
uid
);
...
...
src/test/profiles/aliyun/duiba.properties
View file @
0887fada
...
@@ -4,7 +4,7 @@ proxyserver.ip=172.16.80.203
...
@@ -4,7 +4,7 @@ proxyserver.ip=172.16.80.203
proxyserver.port
=
22
proxyserver.port
=
22
proxyserver.user
=
dev
proxyserver.user
=
dev
proxyserver.prvkey
=
key/hzlId_rsa
proxyserver.prvkey
=
key/hzlId_rsa
dafuweng.host
=
dafuweng.dui88.com
dafuweng.host
=
autotest-dafuweng.duibatest.com.cn
dafuweng.port
=
80
dafuweng.port
=
80
uid
=
2707
uid
=
2707
appId
=
2239
appId
=
2239
...
...
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