Generated by TestNG with ReportNG at 22:42 PDT on Monday 03 May 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.578s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.743s
2021-05-03 22:58:00 |

2021-05-03 22:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-03 22:58:00 | ------------------------------------

2021-05-03 22:58:00 | [Mutex] isItemNotified: node_uysphs0203:exists :: false

2021-05-03 22:58:00 | [Mutex] waiting for: [node_uysphs0203:create_node]

2021-05-03 22:58:00 | [Mutex] waiting for: [node_uysphs0203:create_node]

2021-05-03 22:58:00 | [Mutex] received everything.

2021-05-03 22:58:00 | [Mutex] isItemNotified: node_uysphs0203:create_node:success :: true

2021-05-03 22:58:00 | [Mutex] waiting for: [node_uysphs0203:subscribe_node]

2021-05-03 22:58:00 | [Mutex] waiting for: [node_uysphs0203:subscribe_node]

2021-05-03 22:58:00 | [Mutex] received everything.

2021-05-03 22:58:00 | [Mutex] isItemNotified: node_uysphs0203:subscribe_node:success :: true

2021-05-03 22:58:00 |


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


2021-05-03 22:58:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:58:00 | command: <data><node>node_uysphs0203</node><entry><content>content_atyk6e0204</content></entry></data>

2021-05-03 22:58:00 | target: http://localhost:8088

2021-05-03 22:58:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-03 22:58:00 | entity: <data><node>node_uysphs0203</node><entry><content>content_atyk6e0204</content></entry></data>

2021-05-03 22:58:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:58:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:58:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c276ff9-d206-44d3-8b1a-3b924af611aa</value></item-id></result>

2021-05-03 22:58:00 | contains: true

2021-05-03 22:58:00 | [Mutex] received everything.

2021-05-03 22:58:00 | [Mutex] isItemNotified: user_regularntimxj0202@test-domain.com:message:received:content_atyk6e0204 :: true

2021-05-03 22:58:00 |


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


2021-05-03 22:58:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:58:00 | command: <data><node>node_uysphs0203</node><expire-at>2021-05-04T05:57:55Z</expire-at><entry><content>content_60hbe50205</content></entry></data>

2021-05-03 22:58:00 | target: http://localhost:8088

2021-05-03 22:58:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-03 22:58:00 | entity: <data><node>node_uysphs0203</node><expire-at>2021-05-04T05:57:55Z</expire-at><entry><content>content_60hbe50205</content></entry></data>

2021-05-03 22:58:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:58:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:58:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7a79274-a2f0-4191-b135-b87287d22bf0</value></item-id></result>

2021-05-03 22:58:01 | contains: true

2021-05-03 22:58:01 | [Mutex] waiting for: [user_regularntimxj0202@test-domain.com:message:received:content_60hbe50205]

2021-05-03 22:58:16 | [Mutex] timeout. Not received [user_regularntimxj0202@test-domain.com:message:received:content_60hbe50205]

2021-05-03 22:58:16 | [Mutex] isItemNotified: user_regularntimxj0202@test-domain.com:message:received:content_60hbe50205 :: false

2021-05-03 22:58:16 |


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


2021-05-03 22:58:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:58:16 | command: <data><node>node_uysphs0203</node><entry><content>content_ubgchf0206</content></entry></data>

2021-05-03 22:58:16 | target: http://localhost:8088

2021-05-03 22:58:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-03 22:58:16 | entity: <data><node>node_uysphs0203</node><entry><content>content_ubgchf0206</content></entry></data>

2021-05-03 22:58:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:58:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:58:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18cb70d5-245e-4f1f-9a45-ea2403264e9f</value></item-id></result>

2021-05-03 22:58:16 | contains: true

2021-05-03 22:58:21 | [Mutex] waiting for: [user_regularntimxj0202@test-domain.com:message:received:content_ubgchf0206]

2021-05-03 22:58:21 | [Mutex] received everything.

2021-05-03 22:58:21 | [Mutex] isItemNotified: user_regularntimxj0202@test-domain.com:message:received:content_ubgchf0206 :: true

2021-05-03 22:58:21 |


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


2021-05-03 22:58:21 | [Mutex] received everything.

2021-05-03 22:58:21 | [Mutex] isItemNotified: node_uysphs0203:subscribe_node:success :: true

2021-05-03 22:58:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-03 22:58:21 | command: <data><node>node_uysphs0203</node><expire-at>2021-05-04T05:58:26Z</expire-at><entry><content>content_asbqw30207</content></entry></data>

2021-05-03 22:58:21 | target: http://localhost:8088

2021-05-03 22:58:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-03 22:58:21 | entity: <data><node>node_uysphs0203</node><expire-at>2021-05-04T05:58:26Z</expire-at><entry><content>content_asbqw30207</content></entry></data>

2021-05-03 22:58:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:58:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-03 22:58:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7d4260c7-b540-4b9f-8368-f55540ed8450</value></item-id></result>

2021-05-03 22:58:21 | contains: true

2021-05-03 22:58:29 | [Mutex] waiting for: [user_regularntimxj0202@test-domain.com:message:received:content_asbqw30207]

2021-05-03 22:58:44 | [Mutex] timeout. Not received [user_regularntimxj0202@test-domain.com:message:received:content_asbqw30207]

2021-05-03 22:58:44 | [Mutex] received everything.

2021-05-03 22:58:44 | [Mutex] isItemNotified: user_regularntimxj0202@test-domain.com:message:received:content_asbqw30207 :: false

2021-05-03 22:58:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_asbqw30207 :: true