Generated by TestNG with ReportNG at 22:50 PDT on Thursday 07 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.503s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.643s
2021-10-07 23:08:15 |

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

2021-10-07 23:08:15 | ------------------------------------

2021-10-07 23:08:15 | [Mutex] isItemNotified: node_qnpnim0203:exists :: false

2021-10-07 23:08:15 | [Mutex] waiting for: [node_qnpnim0203:create_node]

2021-10-07 23:08:15 | [Mutex] received everything.

2021-10-07 23:08:15 | [Mutex] isItemNotified: node_qnpnim0203:create_node:success :: true

2021-10-07 23:08:15 | [Mutex] waiting for: [node_qnpnim0203:subscribe_node]

2021-10-07 23:08:15 | [Mutex] received everything.

2021-10-07 23:08:15 | [Mutex] isItemNotified: node_qnpnim0203:subscribe_node:success :: true

2021-10-07 23:08:15 |


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


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

2021-10-07 23:08:15 | command: <data><node>node_qnpnim0203</node><entry><content>content_xgoqrl0204</content></entry></data>

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

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

2021-10-07 23:08:15 | entity: <data><node>node_qnpnim0203</node><entry><content>content_xgoqrl0204</content></entry></data>

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

2021-10-07 23:08:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7ba2b26d-f0c6-4048-83bc-a3de009443e1</value></item-id></result>

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

2021-10-07 23:08:15 | [Mutex] received everything.

2021-10-07 23:08:15 | [Mutex] isItemNotified: user_regular37ubfw0202@test-domain.com:message:received:content_xgoqrl0204 :: true

2021-10-07 23:08:15 |


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


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

2021-10-07 23:08:15 | command: <data><node>node_qnpnim0203</node><expire-at>2021-10-08T06:08:10Z</expire-at><entry><content>content_q8pwcs0205</content></entry></data>

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

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

2021-10-07 23:08:15 | entity: <data><node>node_qnpnim0203</node><expire-at>2021-10-08T06:08:10Z</expire-at><entry><content>content_q8pwcs0205</content></entry></data>

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

2021-10-07 23:08:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>091c0d90-0158-4346-89dc-2482d0f10175</value></item-id></result>

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

2021-10-07 23:08:15 | [Mutex] waiting for: [user_regular37ubfw0202@test-domain.com:message:received:content_q8pwcs0205]

2021-10-07 23:08:30 | [Mutex] timeout. Not received [user_regular37ubfw0202@test-domain.com:message:received:content_q8pwcs0205]

2021-10-07 23:08:30 | [Mutex] isItemNotified: user_regular37ubfw0202@test-domain.com:message:received:content_q8pwcs0205 :: false

2021-10-07 23:08:30 |


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


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

2021-10-07 23:08:30 | command: <data><node>node_qnpnim0203</node><entry><content>content_vkikq70206</content></entry></data>

2021-10-07 23:08:30 | target: http://localhost:8088

2021-10-07 23:08:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-07 23:08:30 | entity: <data><node>node_qnpnim0203</node><entry><content>content_vkikq70206</content></entry></data>

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

2021-10-07 23:08:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>963cb245-e315-4b80-ad68-281e6259a420</value></item-id></result>

2021-10-07 23:08:30 | contains: true

2021-10-07 23:08:35 | [Mutex] waiting for: [user_regular37ubfw0202@test-domain.com:message:received:content_vkikq70206]

2021-10-07 23:08:35 | [Mutex] received everything.

2021-10-07 23:08:35 | [Mutex] isItemNotified: user_regular37ubfw0202@test-domain.com:message:received:content_vkikq70206 :: true

2021-10-07 23:08:35 |


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


2021-10-07 23:08:35 | [Mutex] received everything.

2021-10-07 23:08:35 | [Mutex] isItemNotified: node_qnpnim0203:subscribe_node:success :: true

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

2021-10-07 23:08:35 | command: <data><node>node_qnpnim0203</node><expire-at>2021-10-08T06:08:40Z</expire-at><entry><content>content_7luu2j0207</content></entry></data>

2021-10-07 23:08:35 | target: http://localhost:8088

2021-10-07 23:08:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-07 23:08:35 | entity: <data><node>node_qnpnim0203</node><expire-at>2021-10-08T06:08:40Z</expire-at><entry><content>content_7luu2j0207</content></entry></data>

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

2021-10-07 23:08:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0d48a7c-9731-4f8a-b428-924ac68b9f62</value></item-id></result>

2021-10-07 23:08:35 | contains: true

2021-10-07 23:08:43 | [Mutex] waiting for: [user_regular37ubfw0202@test-domain.com:message:received:content_7luu2j0207]

2021-10-07 23:08:43 | [Mutex] waiting for: [user_regular37ubfw0202@test-domain.com:message:received:content_7luu2j0207]

2021-10-07 23:08:58 | [Mutex] timeout. Not received [user_regular37ubfw0202@test-domain.com:message:received:content_7luu2j0207]

2021-10-07 23:08:58 | [Mutex] received everything.

2021-10-07 23:08:58 | [Mutex] isItemNotified: user_regular37ubfw0202@test-domain.com:message:received:content_7luu2j0207 :: false

2021-10-07 23:08:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7luu2j0207 :: true