Generated by TestNG with ReportNG at 22:14 PDT on Tuesday 27 October 2020
root@eaa73862192b / 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.022s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.717s
2020-10-27 22:29:16 |

2020-10-27 22:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-27 22:29:16 | ------------------------------------

2020-10-27 22:29:16 | [Mutex] isItemNotified: node_nfyuol0203:exists :: false

2020-10-27 22:29:16 | [Mutex] waiting for: [node_nfyuol0203:create_node]

2020-10-27 22:29:16 | [Mutex] waiting for: [node_nfyuol0203:create_node]

2020-10-27 22:29:16 | [Mutex] received everything.

2020-10-27 22:29:16 | [Mutex] isItemNotified: node_nfyuol0203:create_node:success :: true

2020-10-27 22:29:16 | [Mutex] waiting for: [node_nfyuol0203:subscribe_node]

2020-10-27 22:29:16 | [Mutex] waiting for: [node_nfyuol0203:subscribe_node]

2020-10-27 22:29:16 | [Mutex] received everything.

2020-10-27 22:29:16 | [Mutex] isItemNotified: node_nfyuol0203:subscribe_node:success :: true

2020-10-27 22:29:16 |


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


2020-10-27 22:29:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:29:16 | command: <data><node>node_nfyuol0203</node><entry><content>content_e51kjm0204</content></entry></data>

2020-10-27 22:29:16 | target: http://localhost:8088

2020-10-27 22:29:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-27 22:29:16 | entity: <data><node>node_nfyuol0203</node><entry><content>content_e51kjm0204</content></entry></data>

2020-10-27 22:29:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:29:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:29:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ef3cf901-6270-4c65-963b-d0365bf426f9</value></item-id></result>

2020-10-27 22:29:16 | contains: true

2020-10-27 22:29:16 | [Mutex] received everything.

2020-10-27 22:29:16 | [Mutex] isItemNotified: user_regularmp7uen0202@test-domain.com:message:received:content_e51kjm0204 :: true

2020-10-27 22:29:16 |


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


2020-10-27 22:29:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:29:16 | command: <data><node>node_nfyuol0203</node><expire-at>2020-10-28T05:29:11Z</expire-at><entry><content>content_8ll1xz0205</content></entry></data>

2020-10-27 22:29:16 | target: http://localhost:8088

2020-10-27 22:29:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-27 22:29:16 | entity: <data><node>node_nfyuol0203</node><expire-at>2020-10-28T05:29:11Z</expire-at><entry><content>content_8ll1xz0205</content></entry></data>

2020-10-27 22:29:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:29:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:29:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b3ee13e7-6fd2-46dd-86ef-1cbc621d8cd1</value></item-id></result>

2020-10-27 22:29:16 | contains: true

2020-10-27 22:29:16 | [Mutex] waiting for: [user_regularmp7uen0202@test-domain.com:message:received:content_8ll1xz0205]

2020-10-27 22:29:31 | [Mutex] timeout. Not received [user_regularmp7uen0202@test-domain.com:message:received:content_8ll1xz0205]

2020-10-27 22:29:31 | [Mutex] isItemNotified: user_regularmp7uen0202@test-domain.com:message:received:content_8ll1xz0205 :: false

2020-10-27 22:29:31 |


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


2020-10-27 22:29:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:29:31 | command: <data><node>node_nfyuol0203</node><entry><content>content_ze9ilz0206</content></entry></data>

2020-10-27 22:29:31 | target: http://localhost:8088

2020-10-27 22:29:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-27 22:29:31 | entity: <data><node>node_nfyuol0203</node><entry><content>content_ze9ilz0206</content></entry></data>

2020-10-27 22:29:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:29:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:29:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad79addd-5655-4975-8edb-e5a6008fa0ad</value></item-id></result>

2020-10-27 22:29:31 | contains: true

2020-10-27 22:29:36 | [Mutex] waiting for: [user_regularmp7uen0202@test-domain.com:message:received:content_ze9ilz0206]

2020-10-27 22:29:36 | [Mutex] received everything.

2020-10-27 22:29:36 | [Mutex] isItemNotified: user_regularmp7uen0202@test-domain.com:message:received:content_ze9ilz0206 :: true

2020-10-27 22:29:36 |


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


2020-10-27 22:29:36 | [Mutex] received everything.

2020-10-27 22:29:36 | [Mutex] isItemNotified: node_nfyuol0203:subscribe_node:success :: true

2020-10-27 22:29:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:29:36 | command: <data><node>node_nfyuol0203</node><expire-at>2020-10-28T05:29:41Z</expire-at><entry><content>content_izbmaa0207</content></entry></data>

2020-10-27 22:29:36 | target: http://localhost:8088

2020-10-27 22:29:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-27 22:29:36 | entity: <data><node>node_nfyuol0203</node><expire-at>2020-10-28T05:29:41Z</expire-at><entry><content>content_izbmaa0207</content></entry></data>

2020-10-27 22:29:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:29:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:29:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>505e8368-3450-4dc8-a459-c1758ef763a7</value></item-id></result>

2020-10-27 22:29:36 | contains: true

2020-10-27 22:29:44 | [Mutex] waiting for: [user_regularmp7uen0202@test-domain.com:message:received:content_izbmaa0207]

2020-10-27 22:29:59 | [Mutex] timeout. Not received [user_regularmp7uen0202@test-domain.com:message:received:content_izbmaa0207]

2020-10-27 22:29:59 | [Mutex] received everything.

2020-10-27 22:29:59 | [Mutex] isItemNotified: user_regularmp7uen0202@test-domain.com:message:received:content_izbmaa0207 :: false

2020-10-27 22:29:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_izbmaa0207 :: true