Generated by TestNG with ReportNG at 22:31 PDT on Monday 21 September 2020
root@86c1c20e0263 / 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.307s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.691s
2020-09-21 22:48:41 |

2020-09-21 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-21 22:48:41 | ------------------------------------

2020-09-21 22:48:41 | [Mutex] isItemNotified: node_q9kbyh0203:exists :: false

2020-09-21 22:48:41 | [Mutex] waiting for: [node_q9kbyh0203:create_node]

2020-09-21 22:48:41 | [Mutex] waiting for: [node_q9kbyh0203:create_node]

2020-09-21 22:48:41 | [Mutex] received everything.

2020-09-21 22:48:41 | [Mutex] isItemNotified: node_q9kbyh0203:create_node:success :: true

2020-09-21 22:48:41 | [Mutex] waiting for: [node_q9kbyh0203:subscribe_node]

2020-09-21 22:48:41 | [Mutex] waiting for: [node_q9kbyh0203:subscribe_node]

2020-09-21 22:48:41 | [Mutex] received everything.

2020-09-21 22:48:41 | [Mutex] isItemNotified: node_q9kbyh0203:subscribe_node:success :: true

2020-09-21 22:48:41 |


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


2020-09-21 22:48:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-21 22:48:41 | command: <data><node>node_q9kbyh0203</node><entry><content>content_y7hn2d0204</content></entry></data>

2020-09-21 22:48:41 | target: http://localhost:8088

2020-09-21 22:48:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-21 22:48:41 | entity: <data><node>node_q9kbyh0203</node><entry><content>content_y7hn2d0204</content></entry></data>

2020-09-21 22:48:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:48:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:48:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ab172ffe-9e06-48df-a7b1-9a32b4ee394b</value></item-id></result>

2020-09-21 22:48:41 | contains: true

2020-09-21 22:48:41 | [Mutex] received everything.

2020-09-21 22:48:41 | [Mutex] isItemNotified: user_regulardv1ql0202@test-domain.com:message:received:content_y7hn2d0204 :: true

2020-09-21 22:48:41 |


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


2020-09-21 22:48:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-21 22:48:41 | command: <data><node>node_q9kbyh0203</node><expire-at>2020-09-22T05:48:36Z</expire-at><entry><content>content_dzyyvd0205</content></entry></data>

2020-09-21 22:48:41 | target: http://localhost:8088

2020-09-21 22:48:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-21 22:48:41 | entity: <data><node>node_q9kbyh0203</node><expire-at>2020-09-22T05:48:36Z</expire-at><entry><content>content_dzyyvd0205</content></entry></data>

2020-09-21 22:48:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:48:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:48:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9177f0da-318c-403a-886d-8b21f46a53e5</value></item-id></result>

2020-09-21 22:48:41 | contains: true

2020-09-21 22:48:41 | [Mutex] waiting for: [user_regulardv1ql0202@test-domain.com:message:received:content_dzyyvd0205]

2020-09-21 22:48:56 | [Mutex] timeout. Not received [user_regulardv1ql0202@test-domain.com:message:received:content_dzyyvd0205]

2020-09-21 22:48:56 | [Mutex] isItemNotified: user_regulardv1ql0202@test-domain.com:message:received:content_dzyyvd0205 :: false

2020-09-21 22:48:56 |


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


2020-09-21 22:48:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-21 22:48:56 | command: <data><node>node_q9kbyh0203</node><entry><content>content_38stub0206</content></entry></data>

2020-09-21 22:48:56 | target: http://localhost:8088

2020-09-21 22:48:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-21 22:48:56 | entity: <data><node>node_q9kbyh0203</node><entry><content>content_38stub0206</content></entry></data>

2020-09-21 22:48:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:48:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:48:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4b9b77d4-700a-444f-83df-1bb567be7582</value></item-id></result>

2020-09-21 22:48:56 | contains: true

2020-09-21 22:49:01 | [Mutex] received everything.

2020-09-21 22:49:01 | [Mutex] isItemNotified: user_regulardv1ql0202@test-domain.com:message:received:content_38stub0206 :: true

2020-09-21 22:49:01 |


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


2020-09-21 22:49:01 | [Mutex] received everything.

2020-09-21 22:49:01 | [Mutex] isItemNotified: node_q9kbyh0203:subscribe_node:success :: true

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

2020-09-21 22:49:01 | command: <data><node>node_q9kbyh0203</node><expire-at>2020-09-22T05:49:06Z</expire-at><entry><content>content_6ng19f0207</content></entry></data>

2020-09-21 22:49:01 | target: http://localhost:8088

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

2020-09-21 22:49:01 | entity: <data><node>node_q9kbyh0203</node><expire-at>2020-09-22T05:49:06Z</expire-at><entry><content>content_6ng19f0207</content></entry></data>

2020-09-21 22:49:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:49:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:49:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d16deb0-1431-42b0-bd12-330f4e7557ed</value></item-id></result>

2020-09-21 22:49:01 | contains: true

2020-09-21 22:49:10 | [Mutex] waiting for: [user_regulardv1ql0202@test-domain.com:message:received:content_6ng19f0207]

2020-09-21 22:49:10 | [Mutex] waiting for: [user_regulardv1ql0202@test-domain.com:message:received:content_6ng19f0207]

2020-09-21 22:49:25 | [Mutex] timeout. Not received [user_regulardv1ql0202@test-domain.com:message:received:content_6ng19f0207]

2020-09-21 22:49:25 | [Mutex] received everything.

2020-09-21 22:49:25 | [Mutex] isItemNotified: user_regulardv1ql0202@test-domain.com:message:received:content_6ng19f0207 :: false

2020-09-21 22:49:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6ng19f0207 :: true