Generated by TestNG with ReportNG at 21:30 PST on Monday 15 November 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.186s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.681s
2021-11-15 21:45:06 |

2021-11-15 21:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-11-15 21:45:06 | ------------------------------------

2021-11-15 21:45:06 | [Mutex] isItemNotified: node_ytuv5z0203:exists :: false

2021-11-15 21:45:06 | [Mutex] waiting for: [node_ytuv5z0203:create_node]

2021-11-15 21:45:06 | [Mutex] received everything.

2021-11-15 21:45:06 | [Mutex] isItemNotified: node_ytuv5z0203:create_node:success :: true

2021-11-15 21:45:06 | [Mutex] waiting for: [node_ytuv5z0203:subscribe_node]

2021-11-15 21:45:06 | [Mutex] waiting for: [node_ytuv5z0203:subscribe_node]

2021-11-15 21:45:06 | [Mutex] received everything.

2021-11-15 21:45:06 | [Mutex] isItemNotified: node_ytuv5z0203:subscribe_node:success :: true

2021-11-15 21:45:06 |


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


2021-11-15 21:45:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-15 21:45:06 | command: <data><node>node_ytuv5z0203</node><entry><content>content_7fi8ql0204</content></entry></data>

2021-11-15 21:45:06 | target: http://localhost:8088

2021-11-15 21:45:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-15 21:45:06 | entity: <data><node>node_ytuv5z0203</node><entry><content>content_7fi8ql0204</content></entry></data>

2021-11-15 21:45:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:45:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-15 21:45:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df26c5d5-765d-4392-9036-2eb79416439e</value></item-id></result>

2021-11-15 21:45:06 | contains: true

2021-11-15 21:45:06 | [Mutex] received everything.

2021-11-15 21:45:06 | [Mutex] isItemNotified: user_regularp7vm7u0202@test-domain.com:message:received:content_7fi8ql0204 :: true

2021-11-15 21:45:06 |


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


2021-11-15 21:45:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-15 21:45:06 | command: <data><node>node_ytuv5z0203</node><expire-at>2021-11-16T05:45:01Z</expire-at><entry><content>content_uhuwe0205</content></entry></data>

2021-11-15 21:45:06 | target: http://localhost:8088

2021-11-15 21:45:06 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-11-15 21:45:06 | entity: <data><node>node_ytuv5z0203</node><expire-at>2021-11-16T05:45:01Z</expire-at><entry><content>content_uhuwe0205</content></entry></data>

2021-11-15 21:45:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:45:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-15 21:45:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07b47b7f-33c3-4bfb-ab3f-ec96fb09abcc</value></item-id></result>

2021-11-15 21:45:06 | contains: true

2021-11-15 21:45:06 | [Mutex] waiting for: [user_regularp7vm7u0202@test-domain.com:message:received:content_uhuwe0205]

2021-11-15 21:45:21 | [Mutex] timeout. Not received [user_regularp7vm7u0202@test-domain.com:message:received:content_uhuwe0205]

2021-11-15 21:45:21 | [Mutex] isItemNotified: user_regularp7vm7u0202@test-domain.com:message:received:content_uhuwe0205 :: false

2021-11-15 21:45:21 |


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


2021-11-15 21:45:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-15 21:45:21 | command: <data><node>node_ytuv5z0203</node><entry><content>content_2rgopz0206</content></entry></data>

2021-11-15 21:45:21 | target: http://localhost:8088

2021-11-15 21:45:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-15 21:45:21 | entity: <data><node>node_ytuv5z0203</node><entry><content>content_2rgopz0206</content></entry></data>

2021-11-15 21:45:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:45:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-15 21:45:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c51a1dec-e052-4468-8bdb-8ade7382e9db</value></item-id></result>

2021-11-15 21:45:21 | contains: true

2021-11-15 21:45:26 | [Mutex] waiting for: [user_regularp7vm7u0202@test-domain.com:message:received:content_2rgopz0206]

2021-11-15 21:45:26 | [Mutex] received everything.

2021-11-15 21:45:26 | [Mutex] isItemNotified: user_regularp7vm7u0202@test-domain.com:message:received:content_2rgopz0206 :: true

2021-11-15 21:45:26 |


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


2021-11-15 21:45:26 | [Mutex] received everything.

2021-11-15 21:45:26 | [Mutex] isItemNotified: node_ytuv5z0203:subscribe_node:success :: true

2021-11-15 21:45:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-15 21:45:26 | command: <data><node>node_ytuv5z0203</node><expire-at>2021-11-16T05:45:31Z</expire-at><entry><content>content_skx3lq0207</content></entry></data>

2021-11-15 21:45:26 | target: http://localhost:8088

2021-11-15 21:45:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-15 21:45:26 | entity: <data><node>node_ytuv5z0203</node><expire-at>2021-11-16T05:45:31Z</expire-at><entry><content>content_skx3lq0207</content></entry></data>

2021-11-15 21:45:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:45:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-15 21:45:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>17fcc015-82bf-430d-b1f6-9f1bc0028c67</value></item-id></result>

2021-11-15 21:45:26 | contains: true

2021-11-15 21:45:34 | [Mutex] waiting for: [user_regularp7vm7u0202@test-domain.com:message:received:content_skx3lq0207]

2021-11-15 21:45:49 | [Mutex] timeout. Not received [user_regularp7vm7u0202@test-domain.com:message:received:content_skx3lq0207]

2021-11-15 21:45:49 | [Mutex] received everything.

2021-11-15 21:45:49 | [Mutex] isItemNotified: user_regularp7vm7u0202@test-domain.com:message:received:content_skx3lq0207 :: false

2021-11-15 21:45:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_skx3lq0207 :: true