Generated by TestNG with ReportNG at 19:05 PDT on Tuesday 01 September 2020
root@45eef7750236 / 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.669s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.669s
2020-09-01 19:20:52 |

2020-09-01 19:20:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-01 19:20:52 | ------------------------------------

2020-09-01 19:20:52 | [Mutex] isItemNotified: node_awxuik0203:exists :: false

2020-09-01 19:20:52 | [Mutex] waiting for: [node_awxuik0203:create_node]

2020-09-01 19:20:52 | [Mutex] waiting for: [node_awxuik0203:create_node]

2020-09-01 19:20:52 | [Mutex] received everything.

2020-09-01 19:20:52 | [Mutex] isItemNotified: node_awxuik0203:create_node:success :: true

2020-09-01 19:20:52 | [Mutex] waiting for: [node_awxuik0203:subscribe_node]

2020-09-01 19:20:52 | [Mutex] waiting for: [node_awxuik0203:subscribe_node]

2020-09-01 19:20:52 | [Mutex] received everything.

2020-09-01 19:20:52 | [Mutex] isItemNotified: node_awxuik0203:subscribe_node:success :: true

2020-09-01 19:20:52 |


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


2020-09-01 19:20:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 19:20:52 | command: <data><node>node_awxuik0203</node><entry><content>content_oefysc0204</content></entry></data>

2020-09-01 19:20:52 | target: http://localhost:8088

2020-09-01 19:20:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 19:20:52 | entity: <data><node>node_awxuik0203</node><entry><content>content_oefysc0204</content></entry></data>

2020-09-01 19:20:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:20:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 19:20:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88128066-465e-420b-a5c4-1609678a30c5</value></item-id></result>

2020-09-01 19:20:52 | contains: true

2020-09-01 19:20:52 | [Mutex] received everything.

2020-09-01 19:20:52 | [Mutex] isItemNotified: user_regularue0uvr0202@test-domain.com:message:received:content_oefysc0204 :: true

2020-09-01 19:20:52 |


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


2020-09-01 19:20:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 19:20:52 | command: <data><node>node_awxuik0203</node><expire-at>2020-09-02T02:20:47Z</expire-at><entry><content>content_d30t1p0205</content></entry></data>

2020-09-01 19:20:52 | target: http://localhost:8088

2020-09-01 19:20:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 19:20:52 | entity: <data><node>node_awxuik0203</node><expire-at>2020-09-02T02:20:47Z</expire-at><entry><content>content_d30t1p0205</content></entry></data>

2020-09-01 19:20:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:20:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 19:20:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d25f4d8-db75-4760-b008-838b8989d793</value></item-id></result>

2020-09-01 19:20:52 | contains: true

2020-09-01 19:20:52 | [Mutex] waiting for: [user_regularue0uvr0202@test-domain.com:message:received:content_d30t1p0205]

2020-09-01 19:21:07 | [Mutex] timeout. Not received [user_regularue0uvr0202@test-domain.com:message:received:content_d30t1p0205]

2020-09-01 19:21:07 | [Mutex] isItemNotified: user_regularue0uvr0202@test-domain.com:message:received:content_d30t1p0205 :: false

2020-09-01 19:21:07 |


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


2020-09-01 19:21:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 19:21:07 | command: <data><node>node_awxuik0203</node><entry><content>content_ghypxm0206</content></entry></data>

2020-09-01 19:21:07 | target: http://localhost:8088

2020-09-01 19:21:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 19:21:07 | entity: <data><node>node_awxuik0203</node><entry><content>content_ghypxm0206</content></entry></data>

2020-09-01 19:21:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:21:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 19:21:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>63f8197b-321f-4172-ad39-2fde89c26d6c</value></item-id></result>

2020-09-01 19:21:07 | contains: true

2020-09-01 19:21:13 | [Mutex] waiting for: [user_regularue0uvr0202@test-domain.com:message:received:content_ghypxm0206]

2020-09-01 19:21:13 | [Mutex] received everything.

2020-09-01 19:21:13 | [Mutex] isItemNotified: user_regularue0uvr0202@test-domain.com:message:received:content_ghypxm0206 :: true

2020-09-01 19:21:13 |


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


2020-09-01 19:21:13 | [Mutex] received everything.

2020-09-01 19:21:13 | [Mutex] isItemNotified: node_awxuik0203:subscribe_node:success :: true

2020-09-01 19:21:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 19:21:13 | command: <data><node>node_awxuik0203</node><expire-at>2020-09-02T02:21:18Z</expire-at><entry><content>content_uxhsaz0207</content></entry></data>

2020-09-01 19:21:13 | target: http://localhost:8088

2020-09-01 19:21:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 19:21:13 | entity: <data><node>node_awxuik0203</node><expire-at>2020-09-02T02:21:18Z</expire-at><entry><content>content_uxhsaz0207</content></entry></data>

2020-09-01 19:21:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:21:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 19:21:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c940c0af-be1a-47fc-bec5-18ae996da203</value></item-id></result>

2020-09-01 19:21:13 | contains: true

2020-09-01 19:21:21 | [Mutex] waiting for: [user_regularue0uvr0202@test-domain.com:message:received:content_uxhsaz0207]

2020-09-01 19:21:36 | [Mutex] timeout. Not received [user_regularue0uvr0202@test-domain.com:message:received:content_uxhsaz0207]

2020-09-01 19:21:36 | [Mutex] received everything.

2020-09-01 19:21:36 | [Mutex] isItemNotified: user_regularue0uvr0202@test-domain.com:message:received:content_uxhsaz0207 :: false

2020-09-01 19:21:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uxhsaz0207 :: true