Generated by TestNG with ReportNG at 07:24 PST on Wednesday 16 February 2022
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.037s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.669s
2022-02-16 07:40:55 |

2022-02-16 07:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-16 07:40:55 | ------------------------------------

2022-02-16 07:40:55 | [Mutex] isItemNotified: node_n4swix0203:exists :: false

2022-02-16 07:40:55 | [Mutex] waiting for: [node_n4swix0203:create_node]

2022-02-16 07:40:55 | [Mutex] received everything.

2022-02-16 07:40:55 | [Mutex] isItemNotified: node_n4swix0203:create_node:success :: true

2022-02-16 07:40:55 | [Mutex] waiting for: [node_n4swix0203:subscribe_node]

2022-02-16 07:40:55 | [Mutex] received everything.

2022-02-16 07:40:55 | [Mutex] isItemNotified: node_n4swix0203:subscribe_node:success :: true

2022-02-16 07:40:55 |


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


2022-02-16 07:40:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:40:55 | command: <data><node>node_n4swix0203</node><entry><content>content_8uhcdg0204</content></entry></data>

2022-02-16 07:40:55 | target: http://localhost:8088

2022-02-16 07:40:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-16 07:40:55 | entity: <data><node>node_n4swix0203</node><entry><content>content_8uhcdg0204</content></entry></data>

2022-02-16 07:40:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:40:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:40:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>924f8108-e3d7-4f94-ab2c-e01c5db93c67</value></item-id></result>

2022-02-16 07:40:55 | contains: true

2022-02-16 07:40:55 | [Mutex] received everything.

2022-02-16 07:40:55 | [Mutex] isItemNotified: user_regularggloo50202@test-domain.com:message:received:content_8uhcdg0204 :: true

2022-02-16 07:40:55 |


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


2022-02-16 07:40:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:40:55 | command: <data><node>node_n4swix0203</node><expire-at>2022-02-16T15:40:50Z</expire-at><entry><content>content_4dt6720205</content></entry></data>

2022-02-16 07:40:55 | target: http://localhost:8088

2022-02-16 07:40:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-16 07:40:55 | entity: <data><node>node_n4swix0203</node><expire-at>2022-02-16T15:40:50Z</expire-at><entry><content>content_4dt6720205</content></entry></data>

2022-02-16 07:40:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:40:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:40:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93694eda-016a-404f-8689-3f4b59102921</value></item-id></result>

2022-02-16 07:40:56 | contains: true

2022-02-16 07:40:56 | [Mutex] waiting for: [user_regularggloo50202@test-domain.com:message:received:content_4dt6720205]

2022-02-16 07:41:11 | [Mutex] timeout. Not received [user_regularggloo50202@test-domain.com:message:received:content_4dt6720205]

2022-02-16 07:41:11 | [Mutex] isItemNotified: user_regularggloo50202@test-domain.com:message:received:content_4dt6720205 :: false

2022-02-16 07:41:11 |


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


2022-02-16 07:41:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:41:11 | command: <data><node>node_n4swix0203</node><entry><content>content_a91p7x0206</content></entry></data>

2022-02-16 07:41:11 | target: http://localhost:8088

2022-02-16 07:41:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-16 07:41:11 | entity: <data><node>node_n4swix0203</node><entry><content>content_a91p7x0206</content></entry></data>

2022-02-16 07:41:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:41:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:41:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>812e1588-d973-4d44-8568-8d104a8d93ac</value></item-id></result>

2022-02-16 07:41:11 | contains: true

2022-02-16 07:41:16 | [Mutex] waiting for: [user_regularggloo50202@test-domain.com:message:received:content_a91p7x0206]

2022-02-16 07:41:16 | [Mutex] received everything.

2022-02-16 07:41:16 | [Mutex] isItemNotified: user_regularggloo50202@test-domain.com:message:received:content_a91p7x0206 :: true

2022-02-16 07:41:16 |


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


2022-02-16 07:41:16 | [Mutex] received everything.

2022-02-16 07:41:16 | [Mutex] isItemNotified: node_n4swix0203:subscribe_node:success :: true

2022-02-16 07:41:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:41:16 | command: <data><node>node_n4swix0203</node><expire-at>2022-02-16T15:41:21Z</expire-at><entry><content>content_isdl7p0207</content></entry></data>

2022-02-16 07:41:16 | target: http://localhost:8088

2022-02-16 07:41:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-16 07:41:16 | entity: <data><node>node_n4swix0203</node><expire-at>2022-02-16T15:41:21Z</expire-at><entry><content>content_isdl7p0207</content></entry></data>

2022-02-16 07:41:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:41:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:41:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bbcb69c0-afaa-41d7-9eb3-f3ec900ad684</value></item-id></result>

2022-02-16 07:41:16 | contains: true

2022-02-16 07:41:24 | [Mutex] waiting for: [user_regularggloo50202@test-domain.com:message:received:content_isdl7p0207]

2022-02-16 07:41:24 | [Mutex] waiting for: [user_regularggloo50202@test-domain.com:message:received:content_isdl7p0207]

2022-02-16 07:41:39 | [Mutex] timeout. Not received [user_regularggloo50202@test-domain.com:message:received:content_isdl7p0207]

2022-02-16 07:41:39 | [Mutex] received everything.

2022-02-16 07:41:39 | [Mutex] isItemNotified: user_regularggloo50202@test-domain.com:message:received:content_isdl7p0207 :: false

2022-02-16 07:41:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_isdl7p0207 :: true