Generated by TestNG with ReportNG at 21:13 PST on Monday 09 November 2020
root@eaa73862192b / 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.512s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.680s
2020-11-09 21:29:28 |

2020-11-09 21:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-09 21:29:28 | ------------------------------------

2020-11-09 21:29:28 | [Mutex] isItemNotified: node_tn2j2x0203:exists :: false

2020-11-09 21:29:28 | [Mutex] waiting for: [node_tn2j2x0203:create_node]

2020-11-09 21:29:28 | [Mutex] received everything.

2020-11-09 21:29:28 | [Mutex] isItemNotified: node_tn2j2x0203:create_node:success :: true

2020-11-09 21:29:28 | [Mutex] waiting for: [node_tn2j2x0203:subscribe_node]

2020-11-09 21:29:28 | [Mutex] received everything.

2020-11-09 21:29:28 | [Mutex] isItemNotified: node_tn2j2x0203:subscribe_node:success :: true

2020-11-09 21:29:28 |


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


2020-11-09 21:29:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:28 | command: <data><node>node_tn2j2x0203</node><entry><content>content_ufvwsu0204</content></entry></data>

2020-11-09 21:29:28 | target: http://localhost:8088

2020-11-09 21:29:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-09 21:29:28 | entity: <data><node>node_tn2j2x0203</node><entry><content>content_ufvwsu0204</content></entry></data>

2020-11-09 21:29:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a32efdda-77ca-4c40-a037-f96a3ad72a1f</value></item-id></result>

2020-11-09 21:29:28 | contains: true

2020-11-09 21:29:28 | [Mutex] received everything.

2020-11-09 21:29:28 | [Mutex] isItemNotified: user_regular6thbin0202@test-domain.com:message:received:content_ufvwsu0204 :: true

2020-11-09 21:29:28 |


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


2020-11-09 21:29:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:28 | command: <data><node>node_tn2j2x0203</node><expire-at>2020-11-10T05:29:23Z</expire-at><entry><content>content_8tcm0l0205</content></entry></data>

2020-11-09 21:29:28 | target: http://localhost:8088

2020-11-09 21:29:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-09 21:29:28 | entity: <data><node>node_tn2j2x0203</node><expire-at>2020-11-10T05:29:23Z</expire-at><entry><content>content_8tcm0l0205</content></entry></data>

2020-11-09 21:29:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b5835c26-6f55-4762-af6d-19ff7f55f7ea</value></item-id></result>

2020-11-09 21:29:28 | contains: true

2020-11-09 21:29:28 | [Mutex] waiting for: [user_regular6thbin0202@test-domain.com:message:received:content_8tcm0l0205]

2020-11-09 21:29:43 | [Mutex] timeout. Not received [user_regular6thbin0202@test-domain.com:message:received:content_8tcm0l0205]

2020-11-09 21:29:43 | [Mutex] isItemNotified: user_regular6thbin0202@test-domain.com:message:received:content_8tcm0l0205 :: false

2020-11-09 21:29:43 |


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


2020-11-09 21:29:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:43 | command: <data><node>node_tn2j2x0203</node><entry><content>content_igp3bw0206</content></entry></data>

2020-11-09 21:29:43 | target: http://localhost:8088

2020-11-09 21:29:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-09 21:29:43 | entity: <data><node>node_tn2j2x0203</node><entry><content>content_igp3bw0206</content></entry></data>

2020-11-09 21:29:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32f5c9eb-ee50-46a8-a482-2721a7212506</value></item-id></result>

2020-11-09 21:29:43 | contains: true

2020-11-09 21:29:49 | [Mutex] waiting for: [user_regular6thbin0202@test-domain.com:message:received:content_igp3bw0206]

2020-11-09 21:29:49 | [Mutex] received everything.

2020-11-09 21:29:49 | [Mutex] isItemNotified: user_regular6thbin0202@test-domain.com:message:received:content_igp3bw0206 :: true

2020-11-09 21:29:49 |


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


2020-11-09 21:29:49 | [Mutex] received everything.

2020-11-09 21:29:49 | [Mutex] isItemNotified: node_tn2j2x0203:subscribe_node:success :: true

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

2020-11-09 21:29:49 | command: <data><node>node_tn2j2x0203</node><expire-at>2020-11-10T05:29:54Z</expire-at><entry><content>content_yid2rk0207</content></entry></data>

2020-11-09 21:29:49 | target: http://localhost:8088

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

2020-11-09 21:29:49 | entity: <data><node>node_tn2j2x0203</node><expire-at>2020-11-10T05:29:54Z</expire-at><entry><content>content_yid2rk0207</content></entry></data>

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

2020-11-09 21:29:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5623afb3-0a61-427a-84c3-3b7a7ab34d00</value></item-id></result>

2020-11-09 21:29:49 | contains: true

2020-11-09 21:29:57 | [Mutex] waiting for: [user_regular6thbin0202@test-domain.com:message:received:content_yid2rk0207]

2020-11-09 21:29:57 | [Mutex] waiting for: [user_regular6thbin0202@test-domain.com:message:received:content_yid2rk0207]

2020-11-09 21:30:12 | [Mutex] timeout. Not received [user_regular6thbin0202@test-domain.com:message:received:content_yid2rk0207]

2020-11-09 21:30:12 | [Mutex] received everything.

2020-11-09 21:30:12 | [Mutex] isItemNotified: user_regular6thbin0202@test-domain.com:message:received:content_yid2rk0207 :: false

2020-11-09 21:30:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yid2rk0207 :: true