Generated by TestNG with ReportNG at 21:49 PST on Sunday 13 February 2022
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.398s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.707s
2022-02-13 22:04:05 |

2022-02-13 22:04:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-13 22:04:05 | ------------------------------------

2022-02-13 22:04:05 | [Mutex] isItemNotified: node_g5be2e0203:exists :: false

2022-02-13 22:04:05 | [Mutex] waiting for: [node_g5be2e0203:create_node]

2022-02-13 22:04:05 | [Mutex] received everything.

2022-02-13 22:04:05 | [Mutex] isItemNotified: node_g5be2e0203:create_node:success :: true

2022-02-13 22:04:05 | [Mutex] waiting for: [node_g5be2e0203:subscribe_node]

2022-02-13 22:04:05 | [Mutex] waiting for: [node_g5be2e0203:subscribe_node]

2022-02-13 22:04:05 | [Mutex] received everything.

2022-02-13 22:04:05 | [Mutex] isItemNotified: node_g5be2e0203:subscribe_node:success :: true

2022-02-13 22:04:05 |


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


2022-02-13 22:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 22:04:05 | command: <data><node>node_g5be2e0203</node><entry><content>content_7x2rvc0204</content></entry></data>

2022-02-13 22:04:05 | target: http://localhost:8088

2022-02-13 22:04:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-13 22:04:05 | entity: <data><node>node_g5be2e0203</node><entry><content>content_7x2rvc0204</content></entry></data>

2022-02-13 22:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-13 22:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6fa1f95d-9121-4689-91a1-08d78f145dc8</value></item-id></result>

2022-02-13 22:04:05 | contains: true

2022-02-13 22:04:05 | [Mutex] received everything.

2022-02-13 22:04:05 | [Mutex] isItemNotified: user_regulars0n4a50202@test-domain.com:message:received:content_7x2rvc0204 :: true

2022-02-13 22:04:05 |


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


2022-02-13 22:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 22:04:05 | command: <data><node>node_g5be2e0203</node><expire-at>2022-02-14T06:04:00Z</expire-at><entry><content>content_e8ycv90205</content></entry></data>

2022-02-13 22:04:05 | target: http://localhost:8088

2022-02-13 22:04:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-13 22:04:05 | entity: <data><node>node_g5be2e0203</node><expire-at>2022-02-14T06:04:00Z</expire-at><entry><content>content_e8ycv90205</content></entry></data>

2022-02-13 22:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-13 22:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d376805c-005b-46cc-b3b6-9b4b6dc99698</value></item-id></result>

2022-02-13 22:04:05 | contains: true

2022-02-13 22:04:05 | [Mutex] waiting for: [user_regulars0n4a50202@test-domain.com:message:received:content_e8ycv90205]

2022-02-13 22:04:20 | [Mutex] timeout. Not received [user_regulars0n4a50202@test-domain.com:message:received:content_e8ycv90205]

2022-02-13 22:04:20 | [Mutex] isItemNotified: user_regulars0n4a50202@test-domain.com:message:received:content_e8ycv90205 :: false

2022-02-13 22:04:20 |


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


2022-02-13 22:04:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 22:04:20 | command: <data><node>node_g5be2e0203</node><entry><content>content_46y1st0206</content></entry></data>

2022-02-13 22:04:20 | target: http://localhost:8088

2022-02-13 22:04:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-13 22:04:20 | entity: <data><node>node_g5be2e0203</node><entry><content>content_46y1st0206</content></entry></data>

2022-02-13 22:04:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:04:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-13 22:04:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1475a80-a918-4121-8584-cd2a95cf226b</value></item-id></result>

2022-02-13 22:04:20 | contains: true

2022-02-13 22:04:25 | [Mutex] waiting for: [user_regulars0n4a50202@test-domain.com:message:received:content_46y1st0206]

2022-02-13 22:04:25 | [Mutex] waiting for: [user_regulars0n4a50202@test-domain.com:message:received:content_46y1st0206]

2022-02-13 22:04:25 | [Mutex] received everything.

2022-02-13 22:04:25 | [Mutex] isItemNotified: user_regulars0n4a50202@test-domain.com:message:received:content_46y1st0206 :: true

2022-02-13 22:04:25 |


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


2022-02-13 22:04:25 | [Mutex] received everything.

2022-02-13 22:04:25 | [Mutex] isItemNotified: node_g5be2e0203:subscribe_node:success :: true

2022-02-13 22:04:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 22:04:26 | command: <data><node>node_g5be2e0203</node><expire-at>2022-02-14T06:04:31Z</expire-at><entry><content>content_r0fcex0207</content></entry></data>

2022-02-13 22:04:26 | target: http://localhost:8088

2022-02-13 22:04:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-13 22:04:26 | entity: <data><node>node_g5be2e0203</node><expire-at>2022-02-14T06:04:31Z</expire-at><entry><content>content_r0fcex0207</content></entry></data>

2022-02-13 22:04:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:04:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-13 22:04:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>71e11e8f-2da9-404f-802e-be4b3d0e725f</value></item-id></result>

2022-02-13 22:04:26 | contains: true

2022-02-13 22:04:34 | [Mutex] waiting for: [user_regulars0n4a50202@test-domain.com:message:received:content_r0fcex0207]

2022-02-13 22:04:34 | [Mutex] waiting for: [user_regulars0n4a50202@test-domain.com:message:received:content_r0fcex0207]

2022-02-13 22:04:34 | [Mutex] waiting for: [user_regulars0n4a50202@test-domain.com:message:received:content_r0fcex0207]

2022-02-13 22:04:49 | [Mutex] timeout. Not received [user_regulars0n4a50202@test-domain.com:message:received:content_r0fcex0207]

2022-02-13 22:04:49 | [Mutex] received everything.

2022-02-13 22:04:49 | [Mutex] isItemNotified: user_regulars0n4a50202@test-domain.com:message:received:content_r0fcex0207 :: false

2022-02-13 22:04:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r0fcex0207 :: true