Generated by TestNG with ReportNG at 22:42 PDT on Sunday 20 September 2020
root@1a41183091ef / 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.670s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.673s
2020-09-20 22:59:43 |

2020-09-20 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-20 22:59:43 | ------------------------------------

2020-09-20 22:59:43 | [Mutex] isItemNotified: node_1ygdgk0203:exists :: false

2020-09-20 22:59:43 | [Mutex] waiting for: [node_1ygdgk0203:create_node]

2020-09-20 22:59:43 | [Mutex] received everything.

2020-09-20 22:59:43 | [Mutex] isItemNotified: node_1ygdgk0203:create_node:success :: true

2020-09-20 22:59:43 | [Mutex] waiting for: [node_1ygdgk0203:subscribe_node]

2020-09-20 22:59:43 | [Mutex] waiting for: [node_1ygdgk0203:subscribe_node]

2020-09-20 22:59:43 | [Mutex] received everything.

2020-09-20 22:59:43 | [Mutex] isItemNotified: node_1ygdgk0203:subscribe_node:success :: true

2020-09-20 22:59:43 |


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


2020-09-20 22:59:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 22:59:43 | command: <data><node>node_1ygdgk0203</node><entry><content>content_1gdyb50204</content></entry></data>

2020-09-20 22:59:43 | target: http://localhost:8088

2020-09-20 22:59:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 22:59:43 | entity: <data><node>node_1ygdgk0203</node><entry><content>content_1gdyb50204</content></entry></data>

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

2020-09-20 22:59:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>301e13bb-f3a8-4932-a835-7cde53bf430f</value></item-id></result>

2020-09-20 22:59:43 | contains: true

2020-09-20 22:59:43 | [Mutex] received everything.

2020-09-20 22:59:43 | [Mutex] isItemNotified: user_regular5v4x1h0202@test-domain.com:message:received:content_1gdyb50204 :: true

2020-09-20 22:59:43 |


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


2020-09-20 22:59:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 22:59:43 | command: <data><node>node_1ygdgk0203</node><expire-at>2020-09-21T05:59:38Z</expire-at><entry><content>content_1mbpj90205</content></entry></data>

2020-09-20 22:59:43 | target: http://localhost:8088

2020-09-20 22:59:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 22:59:43 | entity: <data><node>node_1ygdgk0203</node><expire-at>2020-09-21T05:59:38Z</expire-at><entry><content>content_1mbpj90205</content></entry></data>

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

2020-09-20 22:59:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>64cffa3f-5af2-489c-bc78-7d9595498425</value></item-id></result>

2020-09-20 22:59:43 | contains: true

2020-09-20 22:59:43 | [Mutex] waiting for: [user_regular5v4x1h0202@test-domain.com:message:received:content_1mbpj90205]

2020-09-20 22:59:58 | [Mutex] timeout. Not received [user_regular5v4x1h0202@test-domain.com:message:received:content_1mbpj90205]

2020-09-20 22:59:58 | [Mutex] isItemNotified: user_regular5v4x1h0202@test-domain.com:message:received:content_1mbpj90205 :: false

2020-09-20 22:59:58 |


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


2020-09-20 22:59:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 22:59:58 | command: <data><node>node_1ygdgk0203</node><entry><content>content_ug1oh80206</content></entry></data>

2020-09-20 22:59:58 | target: http://localhost:8088

2020-09-20 22:59:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 22:59:58 | entity: <data><node>node_1ygdgk0203</node><entry><content>content_ug1oh80206</content></entry></data>

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

2020-09-20 22:59:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a528776c-0a1a-48c0-9e4b-3bcfb5560b78</value></item-id></result>

2020-09-20 22:59:58 | contains: true

2020-09-20 23:00:03 | [Mutex] waiting for: [user_regular5v4x1h0202@test-domain.com:message:received:content_ug1oh80206]

2020-09-20 23:00:03 | [Mutex] waiting for: [user_regular5v4x1h0202@test-domain.com:message:received:content_ug1oh80206]

2020-09-20 23:00:03 | [Mutex] received everything.

2020-09-20 23:00:03 | [Mutex] isItemNotified: user_regular5v4x1h0202@test-domain.com:message:received:content_ug1oh80206 :: true

2020-09-20 23:00:03 |


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


2020-09-20 23:00:03 | [Mutex] received everything.

2020-09-20 23:00:03 | [Mutex] isItemNotified: node_1ygdgk0203:subscribe_node:success :: true

2020-09-20 23:00:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:00:03 | command: <data><node>node_1ygdgk0203</node><expire-at>2020-09-21T06:00:08Z</expire-at><entry><content>content_cmv8hz0207</content></entry></data>

2020-09-20 23:00:03 | target: http://localhost:8088

2020-09-20 23:00:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 23:00:03 | entity: <data><node>node_1ygdgk0203</node><expire-at>2020-09-21T06:00:08Z</expire-at><entry><content>content_cmv8hz0207</content></entry></data>

2020-09-20 23:00:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:00:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:00:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1e1ccaf-9b7e-40f0-a314-987500f0492f</value></item-id></result>

2020-09-20 23:00:03 | contains: true

2020-09-20 23:00:11 | [Mutex] waiting for: [user_regular5v4x1h0202@test-domain.com:message:received:content_cmv8hz0207]

2020-09-20 23:00:26 | [Mutex] timeout. Not received [user_regular5v4x1h0202@test-domain.com:message:received:content_cmv8hz0207]

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

2020-09-20 23:00:26 | [Mutex] isItemNotified: user_regular5v4x1h0202@test-domain.com:message:received:content_cmv8hz0207 :: false

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