Generated by TestNG with ReportNG at 23:10 PDT on Wednesday 23 September 2020
root@d2a27fcc5bc3 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.742s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.882s
2020-09-23 23:25:17 |

2020-09-23 23:25:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-23 23:25:17 | ------------------------------------

2020-09-23 23:25:17 | [Mutex] isItemNotified: node_prmadh0203:exists :: false

2020-09-23 23:25:17 | [Mutex] waiting for: [node_prmadh0203:create_node]

2020-09-23 23:25:17 | [Mutex] received everything.

2020-09-23 23:25:17 | [Mutex] isItemNotified: node_prmadh0203:create_node:success :: true

2020-09-23 23:25:17 | [Mutex] waiting for: [node_prmadh0203:subscribe_node]

2020-09-23 23:25:17 | [Mutex] waiting for: [node_prmadh0203:subscribe_node]

2020-09-23 23:25:17 | [Mutex] received everything.

2020-09-23 23:25:17 | [Mutex] isItemNotified: node_prmadh0203:subscribe_node:success :: true

2020-09-23 23:25:17 |


===== publishing normal message (to online)


2020-09-23 23:25:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 23:25:17 | command: <data><node>node_prmadh0203</node><entry><content>content_w9yb650204</content></entry></data>

2020-09-23 23:25:17 | target: http://localhost:8088

2020-09-23 23:25:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-23 23:25:17 | entity: <data><node>node_prmadh0203</node><entry><content>content_w9yb650204</content></entry></data>

2020-09-23 23:25:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:25:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 23:25:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a54b4c90-9e3a-4fc7-913c-64f561f1c12e</value></item-id></result>

2020-09-23 23:25:17 | contains: true

2020-09-23 23:25:17 | [Mutex] waiting for: [user_regular9paxgk0202@test-domain.com:message:received:content_w9yb650204]

2020-09-23 23:25:17 | [Mutex] received everything.

2020-09-23 23:25:17 | [Mutex] isItemNotified: user_regular9paxgk0202@test-domain.com:message:received:content_w9yb650204 :: true

2020-09-23 23:25:17 |


===== publishing already old message - expecting message being filtered out (to online)


2020-09-23 23:25:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 23:25:17 | command: <data><node>node_prmadh0203</node><expire-at>2020-09-24T06:25:12Z</expire-at><entry><content>content_easau90205</content></entry></data>

2020-09-23 23:25:17 | target: http://localhost:8088

2020-09-23 23:25:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-23 23:25:17 | entity: <data><node>node_prmadh0203</node><expire-at>2020-09-24T06:25:12Z</expire-at><entry><content>content_easau90205</content></entry></data>

2020-09-23 23:25:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:25:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 23:25:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a38b743f-338e-47e4-b682-e9dc03b04ea0</value></item-id></result>

2020-09-23 23:25:18 | contains: true

2020-09-23 23:25:18 | [Mutex] waiting for: [user_regular9paxgk0202@test-domain.com:message:received:content_easau90205]

2020-09-23 23:25:33 | [Mutex] timeout. Not received [user_regular9paxgk0202@test-domain.com:message:received:content_easau90205]

2020-09-23 23:25:33 | [Mutex] isItemNotified: user_regular9paxgk0202@test-domain.com:message:received:content_easau90205 :: false

2020-09-23 23:25:33 |


===== publishing normal message (to offline)


2020-09-23 23:25:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 23:25:33 | command: <data><node>node_prmadh0203</node><entry><content>content_i6ovup0206</content></entry></data>

2020-09-23 23:25:33 | target: http://localhost:8088

2020-09-23 23:25:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-23 23:25:33 | entity: <data><node>node_prmadh0203</node><entry><content>content_i6ovup0206</content></entry></data>

2020-09-23 23:25:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:25:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 23:25:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d1484d2-8880-4250-af6f-439be84501fe</value></item-id></result>

2020-09-23 23:25:33 | contains: true

2020-09-23 23:25:38 | [Mutex] waiting for: [user_regular9paxgk0202@test-domain.com:message:received:content_i6ovup0206]

2020-09-23 23:25:38 | [Mutex] received everything.

2020-09-23 23:25:38 | [Mutex] isItemNotified: user_regular9paxgk0202@test-domain.com:message:received:content_i6ovup0206 :: true

2020-09-23 23:25:38 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-09-23 23:25:38 | [Mutex] received everything.

2020-09-23 23:25:38 | [Mutex] isItemNotified: node_prmadh0203:subscribe_node:success :: true

2020-09-23 23:25:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 23:25:38 | command: <data><node>node_prmadh0203</node><expire-at>2020-09-24T06:25:43Z</expire-at><entry><content>content_kxumxx0207</content></entry></data>

2020-09-23 23:25:38 | target: http://localhost:8088

2020-09-23 23:25:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-23 23:25:38 | entity: <data><node>node_prmadh0203</node><expire-at>2020-09-24T06:25:43Z</expire-at><entry><content>content_kxumxx0207</content></entry></data>

2020-09-23 23:25:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:25:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 23:25:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a86faa12-ea77-4623-bf06-5dc5342c5ff4</value></item-id></result>

2020-09-23 23:25:38 | contains: true

2020-09-23 23:25:46 | [Mutex] waiting for: [user_regular9paxgk0202@test-domain.com:message:received:content_kxumxx0207]

2020-09-23 23:25:46 | [Mutex] waiting for: [user_regular9paxgk0202@test-domain.com:message:received:content_kxumxx0207]

2020-09-23 23:26:01 | [Mutex] timeout. Not received [user_regular9paxgk0202@test-domain.com:message:received:content_kxumxx0207]

2020-09-23 23:26:01 | [Mutex] received everything.

2020-09-23 23:26:01 | [Mutex] isItemNotified: user_regular9paxgk0202@test-domain.com:message:received:content_kxumxx0207 :: false

2020-09-23 23:26:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kxumxx0207 :: true