Generated by TestNG with ReportNG at 22:45 PDT on Sunday 09 May 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.723s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.794s
2021-05-09 22:59:58 |

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

2021-05-09 22:59:58 | ------------------------------------

2021-05-09 22:59:58 | [Mutex] isItemNotified: node_xtpvpi0203:exists :: false

2021-05-09 22:59:58 | [Mutex] waiting for: [node_xtpvpi0203:create_node]

2021-05-09 22:59:58 | [Mutex] received everything.

2021-05-09 22:59:58 | [Mutex] isItemNotified: node_xtpvpi0203:create_node:success :: true

2021-05-09 22:59:58 | [Mutex] waiting for: [node_xtpvpi0203:subscribe_node]

2021-05-09 22:59:58 | [Mutex] waiting for: [node_xtpvpi0203:subscribe_node]

2021-05-09 22:59:58 | [Mutex] received everything.

2021-05-09 22:59:58 | [Mutex] isItemNotified: node_xtpvpi0203:subscribe_node:success :: true

2021-05-09 22:59:58 |


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


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

2021-05-09 22:59:58 | command: <data><node>node_xtpvpi0203</node><entry><content>content_vwnng50204</content></entry></data>

2021-05-09 22:59:58 | target: http://localhost:8088

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

2021-05-09 22:59:58 | entity: <data><node>node_xtpvpi0203</node><entry><content>content_vwnng50204</content></entry></data>

2021-05-09 22:59:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:59:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 22:59:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3c8c256-47ae-40b7-8f10-9a8a3d0f3b15</value></item-id></result>

2021-05-09 22:59:58 | contains: true

2021-05-09 22:59:58 | [Mutex] waiting for: [user_regulare14jm80202@test-domain.com:message:received:content_vwnng50204]

2021-05-09 22:59:58 | [Mutex] received everything.

2021-05-09 22:59:58 | [Mutex] isItemNotified: user_regulare14jm80202@test-domain.com:message:received:content_vwnng50204 :: true

2021-05-09 22:59:58 |


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


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

2021-05-09 22:59:58 | command: <data><node>node_xtpvpi0203</node><expire-at>2021-05-10T05:59:53Z</expire-at><entry><content>content_5i773u0205</content></entry></data>

2021-05-09 22:59:58 | target: http://localhost:8088

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

2021-05-09 22:59:58 | entity: <data><node>node_xtpvpi0203</node><expire-at>2021-05-10T05:59:53Z</expire-at><entry><content>content_5i773u0205</content></entry></data>

2021-05-09 22:59:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:59:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 22:59:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22960f2c-3ea5-4048-8931-09f8a4b46421</value></item-id></result>

2021-05-09 22:59:58 | contains: true

2021-05-09 22:59:58 | [Mutex] waiting for: [user_regulare14jm80202@test-domain.com:message:received:content_5i773u0205]

2021-05-09 23:00:13 | [Mutex] timeout. Not received [user_regulare14jm80202@test-domain.com:message:received:content_5i773u0205]

2021-05-09 23:00:13 | [Mutex] isItemNotified: user_regulare14jm80202@test-domain.com:message:received:content_5i773u0205 :: false

2021-05-09 23:00:13 |


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


2021-05-09 23:00:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 23:00:13 | command: <data><node>node_xtpvpi0203</node><entry><content>content_qgw7oe0206</content></entry></data>

2021-05-09 23:00:13 | target: http://localhost:8088

2021-05-09 23:00:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-09 23:00:13 | entity: <data><node>node_xtpvpi0203</node><entry><content>content_qgw7oe0206</content></entry></data>

2021-05-09 23:00:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 06:00:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 23:00:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>48286738-1a4b-4565-98dc-9bec44786e02</value></item-id></result>

2021-05-09 23:00:13 | contains: true

2021-05-09 23:00:19 | [Mutex] waiting for: [user_regulare14jm80202@test-domain.com:message:received:content_qgw7oe0206]

2021-05-09 23:00:19 | [Mutex] waiting for: [user_regulare14jm80202@test-domain.com:message:received:content_qgw7oe0206]

2021-05-09 23:00:19 | [Mutex] received everything.

2021-05-09 23:00:19 | [Mutex] isItemNotified: user_regulare14jm80202@test-domain.com:message:received:content_qgw7oe0206 :: true

2021-05-09 23:00:19 |


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


2021-05-09 23:00:19 | [Mutex] received everything.

2021-05-09 23:00:19 | [Mutex] isItemNotified: node_xtpvpi0203:subscribe_node:success :: true

2021-05-09 23:00:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 23:00:19 | command: <data><node>node_xtpvpi0203</node><expire-at>2021-05-10T06:00:24Z</expire-at><entry><content>content_d8r81d0207</content></entry></data>

2021-05-09 23:00:19 | target: http://localhost:8088

2021-05-09 23:00:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-09 23:00:19 | entity: <data><node>node_xtpvpi0203</node><expire-at>2021-05-10T06:00:24Z</expire-at><entry><content>content_d8r81d0207</content></entry></data>

2021-05-09 23:00:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 06:00:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 23:00:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>134e98d6-bd0d-49fd-97e9-1a47f31881ce</value></item-id></result>

2021-05-09 23:00:19 | contains: true

2021-05-09 23:00:27 | [Mutex] waiting for: [user_regulare14jm80202@test-domain.com:message:received:content_d8r81d0207]

2021-05-09 23:00:27 | [Mutex] waiting for: [user_regulare14jm80202@test-domain.com:message:received:content_d8r81d0207]

2021-05-09 23:00:42 | [Mutex] timeout. Not received [user_regulare14jm80202@test-domain.com:message:received:content_d8r81d0207]

2021-05-09 23:00:42 | [Mutex] received everything.

2021-05-09 23:00:42 | [Mutex] isItemNotified: user_regulare14jm80202@test-domain.com:message:received:content_d8r81d0207 :: false

2021-05-09 23:00:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d8r81d0207 :: true