Generated by TestNG with ReportNG at 22:23 PDT on Tuesday 21 September 2021
root@f29ef40080b5 / 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.517s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.701s
2021-09-21 22:38:28 |

2021-09-21 22:38:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-21 22:38:28 | ------------------------------------

2021-09-21 22:38:28 | [Mutex] isItemNotified: node_q74v8z0203:exists :: false

2021-09-21 22:38:28 | [Mutex] waiting for: [node_q74v8z0203:create_node]

2021-09-21 22:38:28 | [Mutex] received everything.

2021-09-21 22:38:28 | [Mutex] isItemNotified: node_q74v8z0203:create_node:success :: true

2021-09-21 22:38:28 | [Mutex] waiting for: [node_q74v8z0203:subscribe_node]

2021-09-21 22:38:28 | [Mutex] waiting for: [node_q74v8z0203:subscribe_node]

2021-09-21 22:38:28 | [Mutex] received everything.

2021-09-21 22:38:28 | [Mutex] isItemNotified: node_q74v8z0203:subscribe_node:success :: true

2021-09-21 22:38:28 |


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


2021-09-21 22:38:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:38:28 | command: <data><node>node_q74v8z0203</node><entry><content>content_8puy7m0204</content></entry></data>

2021-09-21 22:38:28 | target: http://localhost:8088

2021-09-21 22:38:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 22:38:28 | entity: <data><node>node_q74v8z0203</node><entry><content>content_8puy7m0204</content></entry></data>

2021-09-21 22:38:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 05:38:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 22:38:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dc64207f-bb77-4ecd-a4e2-52853b128835</value></item-id></result>

2021-09-21 22:38:28 | contains: true

2021-09-21 22:38:28 | [Mutex] received everything.

2021-09-21 22:38:28 | [Mutex] isItemNotified: user_regular6mghmz0202@test-domain.com:message:received:content_8puy7m0204 :: true

2021-09-21 22:38:28 |


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


2021-09-21 22:38:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:38:28 | command: <data><node>node_q74v8z0203</node><expire-at>2021-09-22T05:38:23Z</expire-at><entry><content>content_8vbr010205</content></entry></data>

2021-09-21 22:38:28 | target: http://localhost:8088

2021-09-21 22:38:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 22:38:28 | entity: <data><node>node_q74v8z0203</node><expire-at>2021-09-22T05:38:23Z</expire-at><entry><content>content_8vbr010205</content></entry></data>

2021-09-21 22:38:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 05:38:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 22:38:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96bcc11c-dbe6-4e19-83b3-afff3df4f5ae</value></item-id></result>

2021-09-21 22:38:28 | contains: true

2021-09-21 22:38:28 | [Mutex] waiting for: [user_regular6mghmz0202@test-domain.com:message:received:content_8vbr010205]

2021-09-21 22:38:43 | [Mutex] timeout. Not received [user_regular6mghmz0202@test-domain.com:message:received:content_8vbr010205]

2021-09-21 22:38:43 | [Mutex] isItemNotified: user_regular6mghmz0202@test-domain.com:message:received:content_8vbr010205 :: false

2021-09-21 22:38:43 |


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


2021-09-21 22:38:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 22:38:43 | command: <data><node>node_q74v8z0203</node><entry><content>content_6mj7gp0206</content></entry></data>

2021-09-21 22:38:43 | target: http://localhost:8088

2021-09-21 22:38:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 22:38:43 | entity: <data><node>node_q74v8z0203</node><entry><content>content_6mj7gp0206</content></entry></data>

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

2021-09-21 22:38:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3d96fcf5-ea59-4a8e-b899-96cf9f933a62</value></item-id></result>

2021-09-21 22:38:43 | contains: true

2021-09-21 22:38:48 | [Mutex] waiting for: [user_regular6mghmz0202@test-domain.com:message:received:content_6mj7gp0206]

2021-09-21 22:38:48 | [Mutex] waiting for: [user_regular6mghmz0202@test-domain.com:message:received:content_6mj7gp0206]

2021-09-21 22:38:48 | [Mutex] received everything.

2021-09-21 22:38:48 | [Mutex] isItemNotified: user_regular6mghmz0202@test-domain.com:message:received:content_6mj7gp0206 :: true

2021-09-21 22:38:48 |


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


2021-09-21 22:38:48 | [Mutex] received everything.

2021-09-21 22:38:48 | [Mutex] isItemNotified: node_q74v8z0203:subscribe_node:success :: true

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

2021-09-21 22:38:48 | command: <data><node>node_q74v8z0203</node><expire-at>2021-09-22T05:38:53Z</expire-at><entry><content>content_dtatns0207</content></entry></data>

2021-09-21 22:38:48 | target: http://localhost:8088

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

2021-09-21 22:38:48 | entity: <data><node>node_q74v8z0203</node><expire-at>2021-09-22T05:38:53Z</expire-at><entry><content>content_dtatns0207</content></entry></data>

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

2021-09-21 22:38:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5da1d902-954e-4092-9884-7054b61f769e</value></item-id></result>

2021-09-21 22:38:48 | contains: true

2021-09-21 22:38:57 | [Mutex] waiting for: [user_regular6mghmz0202@test-domain.com:message:received:content_dtatns0207]

2021-09-21 22:38:57 | [Mutex] waiting for: [user_regular6mghmz0202@test-domain.com:message:received:content_dtatns0207]

2021-09-21 22:39:12 | [Mutex] timeout. Not received [user_regular6mghmz0202@test-domain.com:message:received:content_dtatns0207]

2021-09-21 22:39:12 | [Mutex] received everything.

2021-09-21 22:39:12 | [Mutex] isItemNotified: user_regular6mghmz0202@test-domain.com:message:received:content_dtatns0207 :: false

2021-09-21 22:39:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dtatns0207 :: true