Generated by TestNG with ReportNG at 22:50 PDT on Tuesday 12 October 2021
root@785cf647a4ab / 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.372s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.604s
2021-10-12 23:07:00 |

2021-10-12 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-12 23:07:00 | ------------------------------------

2021-10-12 23:07:00 | [Mutex] isItemNotified: node_6stcf0203:exists :: false

2021-10-12 23:07:00 | [Mutex] waiting for: [node_6stcf0203:create_node]

2021-10-12 23:07:00 | [Mutex] received everything.

2021-10-12 23:07:00 | [Mutex] isItemNotified: node_6stcf0203:create_node:success :: true

2021-10-12 23:07:00 | [Mutex] waiting for: [node_6stcf0203:subscribe_node]

2021-10-12 23:07:00 | [Mutex] waiting for: [node_6stcf0203:subscribe_node]

2021-10-12 23:07:00 | [Mutex] received everything.

2021-10-12 23:07:00 | [Mutex] isItemNotified: node_6stcf0203:subscribe_node:success :: true

2021-10-12 23:07:00 |


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


2021-10-12 23:07:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 23:07:00 | command: <data><node>node_6stcf0203</node><entry><content>content_k91e7p0204</content></entry></data>

2021-10-12 23:07:00 | target: http://localhost:8088

2021-10-12 23:07:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-10-12 23:07:00 | entity: <data><node>node_6stcf0203</node><entry><content>content_k91e7p0204</content></entry></data>

2021-10-12 23:07:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 23:07:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e42bfc19-4079-458c-aed3-b239f11e3d86</value></item-id></result>

2021-10-12 23:07:00 | contains: true

2021-10-12 23:07:00 | [Mutex] received everything.

2021-10-12 23:07:00 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_k91e7p0204 :: true

2021-10-12 23:07:00 |


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


2021-10-12 23:07:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 23:07:00 | command: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:06:55Z</expire-at><entry><content>content_4fjeqq0205</content></entry></data>

2021-10-12 23:07:00 | target: http://localhost:8088

2021-10-12 23:07:00 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-10-12 23:07:00 | entity: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:06:55Z</expire-at><entry><content>content_4fjeqq0205</content></entry></data>

2021-10-12 23:07:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 23:07:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab213eba-9b67-48b6-9a27-8f7882a1eb2c</value></item-id></result>

2021-10-12 23:07:00 | contains: true

2021-10-12 23:07:00 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_4fjeqq0205]

2021-10-12 23:07:15 | [Mutex] timeout. Not received [user_regulardoegco0202@test-domain.com:message:received:content_4fjeqq0205]

2021-10-12 23:07:15 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_4fjeqq0205 :: false

2021-10-12 23:07:15 |


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


2021-10-12 23:07:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 23:07:15 | command: <data><node>node_6stcf0203</node><entry><content>content_kotji30206</content></entry></data>

2021-10-12 23:07:15 | target: http://localhost:8088

2021-10-12 23:07:15 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-10-12 23:07:15 | entity: <data><node>node_6stcf0203</node><entry><content>content_kotji30206</content></entry></data>

2021-10-12 23:07:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 23:07:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>84e1a3b1-eb9c-4c07-9837-17a72e124b10</value></item-id></result>

2021-10-12 23:07:15 | contains: true

2021-10-12 23:07:20 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_kotji30206]

2021-10-12 23:07:20 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_kotji30206]

2021-10-12 23:07:20 | [Mutex] received everything.

2021-10-12 23:07:20 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_kotji30206 :: true

2021-10-12 23:07:20 |


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


2021-10-12 23:07:20 | [Mutex] received everything.

2021-10-12 23:07:20 | [Mutex] isItemNotified: node_6stcf0203:subscribe_node:success :: true

2021-10-12 23:07:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 23:07:20 | command: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:07:25Z</expire-at><entry><content>content_r6na7f0207</content></entry></data>

2021-10-12 23:07:20 | target: http://localhost:8088

2021-10-12 23:07:20 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-10-12 23:07:20 | entity: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:07:25Z</expire-at><entry><content>content_r6na7f0207</content></entry></data>

2021-10-12 23:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 23:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b627de58-22e2-4fcb-9c95-9418668a05b1</value></item-id></result>

2021-10-12 23:07:20 | contains: true

2021-10-12 23:07:28 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_r6na7f0207]

2021-10-12 23:07:43 | [Mutex] timeout. Not received [user_regulardoegco0202@test-domain.com:message:received:content_r6na7f0207]

2021-10-12 23:07:43 | [Mutex] received everything.

2021-10-12 23:07:43 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_r6na7f0207 :: false

2021-10-12 23:07:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r6na7f0207 :: true