Generated by TestNG with ReportNG at 21:43 PST on Sunday 06 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.495s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.730s
2022-02-06 21:59:52 |

2022-02-06 21:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-06 21:59:52 | ------------------------------------

2022-02-06 21:59:52 | [Mutex] isItemNotified: node_n32wss0203:exists :: false

2022-02-06 21:59:52 | [Mutex] waiting for: [node_n32wss0203:create_node]

2022-02-06 21:59:52 | [Mutex] received everything.

2022-02-06 21:59:52 | [Mutex] isItemNotified: node_n32wss0203:create_node:success :: true

2022-02-06 21:59:52 | [Mutex] waiting for: [node_n32wss0203:subscribe_node]

2022-02-06 21:59:52 | [Mutex] waiting for: [node_n32wss0203:subscribe_node]

2022-02-06 21:59:52 | [Mutex] received everything.

2022-02-06 21:59:52 | [Mutex] isItemNotified: node_n32wss0203:subscribe_node:success :: true

2022-02-06 21:59:52 |


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


2022-02-06 21:59:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 21:59:52 | command: <data><node>node_n32wss0203</node><entry><content>content_grsqo10204</content></entry></data>

2022-02-06 21:59:52 | target: http://localhost:8088

2022-02-06 21:59:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-06 21:59:52 | entity: <data><node>node_n32wss0203</node><entry><content>content_grsqo10204</content></entry></data>

2022-02-06 21:59:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Feb 2022 05:59:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-06 21:59:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5241a0d1-84bc-4a1c-ab19-eae4253f1f12</value></item-id></result>

2022-02-06 21:59:52 | contains: true

2022-02-06 21:59:52 | [Mutex] received everything.

2022-02-06 21:59:52 | [Mutex] isItemNotified: user_regulardvsglg0202@test-domain.com:message:received:content_grsqo10204 :: true

2022-02-06 21:59:52 |


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


2022-02-06 21:59:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 21:59:52 | command: <data><node>node_n32wss0203</node><expire-at>2022-02-07T05:59:47Z</expire-at><entry><content>content_nloy590205</content></entry></data>

2022-02-06 21:59:52 | target: http://localhost:8088

2022-02-06 21:59:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-06 21:59:52 | entity: <data><node>node_n32wss0203</node><expire-at>2022-02-07T05:59:47Z</expire-at><entry><content>content_nloy590205</content></entry></data>

2022-02-06 21:59:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Feb 2022 05:59:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-06 21:59:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d999e23a-1561-4645-bb09-dac845bf7318</value></item-id></result>

2022-02-06 21:59:52 | contains: true

2022-02-06 21:59:52 | [Mutex] waiting for: [user_regulardvsglg0202@test-domain.com:message:received:content_nloy590205]

2022-02-06 22:00:07 | [Mutex] timeout. Not received [user_regulardvsglg0202@test-domain.com:message:received:content_nloy590205]

2022-02-06 22:00:07 | [Mutex] isItemNotified: user_regulardvsglg0202@test-domain.com:message:received:content_nloy590205 :: false

2022-02-06 22:00:07 |


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


2022-02-06 22:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 22:00:08 | command: <data><node>node_n32wss0203</node><entry><content>content_6aopz00206</content></entry></data>

2022-02-06 22:00:08 | target: http://localhost:8088

2022-02-06 22:00:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-06 22:00:08 | entity: <data><node>node_n32wss0203</node><entry><content>content_6aopz00206</content></entry></data>

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

2022-02-06 22:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdb77e20-6681-4c92-ab38-e21928bbe93f</value></item-id></result>

2022-02-06 22:00:08 | contains: true

2022-02-06 22:00:13 | [Mutex] waiting for: [user_regulardvsglg0202@test-domain.com:message:received:content_6aopz00206]

2022-02-06 22:00:13 | [Mutex] received everything.

2022-02-06 22:00:13 | [Mutex] isItemNotified: user_regulardvsglg0202@test-domain.com:message:received:content_6aopz00206 :: true

2022-02-06 22:00:13 |


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


2022-02-06 22:00:13 | [Mutex] received everything.

2022-02-06 22:00:13 | [Mutex] isItemNotified: node_n32wss0203:subscribe_node:success :: true

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

2022-02-06 22:00:13 | command: <data><node>node_n32wss0203</node><expire-at>2022-02-07T06:00:18Z</expire-at><entry><content>content_7ju3560207</content></entry></data>

2022-02-06 22:00:13 | target: http://localhost:8088

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

2022-02-06 22:00:13 | entity: <data><node>node_n32wss0203</node><expire-at>2022-02-07T06:00:18Z</expire-at><entry><content>content_7ju3560207</content></entry></data>

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

2022-02-06 22:00:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>abdbbfe0-64cc-43a7-a8cc-fbae1310f386</value></item-id></result>

2022-02-06 22:00:13 | contains: true

2022-02-06 22:00:21 | [Mutex] waiting for: [user_regulardvsglg0202@test-domain.com:message:received:content_7ju3560207]

2022-02-06 22:00:36 | [Mutex] timeout. Not received [user_regulardvsglg0202@test-domain.com:message:received:content_7ju3560207]

2022-02-06 22:00:36 | [Mutex] received everything.

2022-02-06 22:00:36 | [Mutex] isItemNotified: user_regulardvsglg0202@test-domain.com:message:received:content_7ju3560207 :: false

2022-02-06 22:00:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7ju3560207 :: true