Generated by TestNG with ReportNG at 21:43 PST on Thursday 21 January 2021
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.400s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.656s
2021-01-21 22:00:37 |

2021-01-21 22:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-21 22:00:37 | ------------------------------------

2021-01-21 22:00:37 | [Mutex] isItemNotified: node_1z6b880203:exists :: false

2021-01-21 22:00:37 | [Mutex] waiting for: [node_1z6b880203:create_node]

2021-01-21 22:00:37 | [Mutex] received everything.

2021-01-21 22:00:37 | [Mutex] isItemNotified: node_1z6b880203:create_node:success :: true

2021-01-21 22:00:37 | [Mutex] waiting for: [node_1z6b880203:subscribe_node]

2021-01-21 22:00:37 | [Mutex] waiting for: [node_1z6b880203:subscribe_node]

2021-01-21 22:00:37 | [Mutex] received everything.

2021-01-21 22:00:37 | [Mutex] isItemNotified: node_1z6b880203:subscribe_node:success :: true

2021-01-21 22:00:37 |


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


2021-01-21 22:00:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 22:00:37 | command: <data><node>node_1z6b880203</node><entry><content>content_ufg6j50204</content></entry></data>

2021-01-21 22:00:37 | target: http://localhost:8088

2021-01-21 22:00:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-21 22:00:37 | entity: <data><node>node_1z6b880203</node><entry><content>content_ufg6j50204</content></entry></data>

2021-01-21 22:00:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 06:00:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 22:00:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc1f83f2-6bc8-4a1a-a816-4fb3e3158701</value></item-id></result>

2021-01-21 22:00:37 | contains: true

2021-01-21 22:00:37 | [Mutex] received everything.

2021-01-21 22:00:37 | [Mutex] isItemNotified: user_regularmih60c0202@test-domain.com:message:received:content_ufg6j50204 :: true

2021-01-21 22:00:37 |


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


2021-01-21 22:00:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 22:00:37 | command: <data><node>node_1z6b880203</node><expire-at>2021-01-22T06:00:32Z</expire-at><entry><content>content_cionig0205</content></entry></data>

2021-01-21 22:00:37 | target: http://localhost:8088

2021-01-21 22:00:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-21 22:00:37 | entity: <data><node>node_1z6b880203</node><expire-at>2021-01-22T06:00:32Z</expire-at><entry><content>content_cionig0205</content></entry></data>

2021-01-21 22:00:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 06:00:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 22:00:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1f10d5ed-0afc-4dce-a8c1-afaca1105e76</value></item-id></result>

2021-01-21 22:00:37 | contains: true

2021-01-21 22:00:37 | [Mutex] waiting for: [user_regularmih60c0202@test-domain.com:message:received:content_cionig0205]

2021-01-21 22:00:52 | [Mutex] timeout. Not received [user_regularmih60c0202@test-domain.com:message:received:content_cionig0205]

2021-01-21 22:00:52 | [Mutex] isItemNotified: user_regularmih60c0202@test-domain.com:message:received:content_cionig0205 :: false

2021-01-21 22:00:52 |


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


2021-01-21 22:00:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 22:00:52 | command: <data><node>node_1z6b880203</node><entry><content>content_3jm9dp0206</content></entry></data>

2021-01-21 22:00:52 | target: http://localhost:8088

2021-01-21 22:00:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-21 22:00:52 | entity: <data><node>node_1z6b880203</node><entry><content>content_3jm9dp0206</content></entry></data>

2021-01-21 22:00:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 06:00:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 22:00:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>19349fc0-5aee-4e3a-a5e3-c1d30b9887a7</value></item-id></result>

2021-01-21 22:00:52 | contains: true

2021-01-21 22:00:57 | [Mutex] waiting for: [user_regularmih60c0202@test-domain.com:message:received:content_3jm9dp0206]

2021-01-21 22:00:57 | [Mutex] received everything.

2021-01-21 22:00:57 | [Mutex] isItemNotified: user_regularmih60c0202@test-domain.com:message:received:content_3jm9dp0206 :: true

2021-01-21 22:00:57 |


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


2021-01-21 22:00:57 | [Mutex] received everything.

2021-01-21 22:00:57 | [Mutex] isItemNotified: node_1z6b880203:subscribe_node:success :: true

2021-01-21 22:00:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 22:00:57 | command: <data><node>node_1z6b880203</node><expire-at>2021-01-22T06:01:02Z</expire-at><entry><content>content_m1o8me0207</content></entry></data>

2021-01-21 22:00:57 | target: http://localhost:8088

2021-01-21 22:00:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-21 22:00:57 | entity: <data><node>node_1z6b880203</node><expire-at>2021-01-22T06:01:02Z</expire-at><entry><content>content_m1o8me0207</content></entry></data>

2021-01-21 22:00:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 06:00:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 22:00:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>abcc7338-9d68-4d1f-8f19-48f10075c065</value></item-id></result>

2021-01-21 22:00:57 | contains: true

2021-01-21 22:01:05 | [Mutex] waiting for: [user_regularmih60c0202@test-domain.com:message:received:content_m1o8me0207]

2021-01-21 22:01:20 | [Mutex] timeout. Not received [user_regularmih60c0202@test-domain.com:message:received:content_m1o8me0207]

2021-01-21 22:01:20 | [Mutex] received everything.

2021-01-21 22:01:20 | [Mutex] isItemNotified: user_regularmih60c0202@test-domain.com:message:received:content_m1o8me0207 :: false

2021-01-21 22:01:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m1o8me0207 :: true