Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 12 May 2021
root@b2c2a8eba6e6 / 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.061s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.673s
2021-05-12 22:58:14 |

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

2021-05-12 22:58:14 | ------------------------------------

2021-05-12 22:58:14 | [Mutex] isItemNotified: node_vlku6b0203:exists :: false

2021-05-12 22:58:14 | [Mutex] waiting for: [node_vlku6b0203:create_node]

2021-05-12 22:58:14 | [Mutex] received everything.

2021-05-12 22:58:14 | [Mutex] isItemNotified: node_vlku6b0203:create_node:success :: true

2021-05-12 22:58:14 | [Mutex] waiting for: [node_vlku6b0203:subscribe_node]

2021-05-12 22:58:14 | [Mutex] waiting for: [node_vlku6b0203:subscribe_node]

2021-05-12 22:58:14 | [Mutex] received everything.

2021-05-12 22:58:14 | [Mutex] isItemNotified: node_vlku6b0203:subscribe_node:success :: true

2021-05-12 22:58:14 |


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


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

2021-05-12 22:58:14 | command: <data><node>node_vlku6b0203</node><entry><content>content_ajya7p0204</content></entry></data>

2021-05-12 22:58:14 | target: http://localhost:8088

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

2021-05-12 22:58:14 | entity: <data><node>node_vlku6b0203</node><entry><content>content_ajya7p0204</content></entry></data>

2021-05-12 22:58:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:58:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:58:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6ceda564-7697-4dff-8e5b-6f6753bf112a</value></item-id></result>

2021-05-12 22:58:14 | contains: true

2021-05-12 22:58:14 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_ajya7p0204]

2021-05-12 22:58:14 | [Mutex] received everything.

2021-05-12 22:58:14 | [Mutex] isItemNotified: user_regulari3vi8f0202@test-domain.com:message:received:content_ajya7p0204 :: true

2021-05-12 22:58:14 |


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


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

2021-05-12 22:58:14 | command: <data><node>node_vlku6b0203</node><expire-at>2021-05-13T05:58:09Z</expire-at><entry><content>content_5x3uji0205</content></entry></data>

2021-05-12 22:58:14 | target: http://localhost:8088

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

2021-05-12 22:58:14 | entity: <data><node>node_vlku6b0203</node><expire-at>2021-05-13T05:58:09Z</expire-at><entry><content>content_5x3uji0205</content></entry></data>

2021-05-12 22:58:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:58:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:58:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f7acc348-02a7-408f-8123-2eb7ed82e9cc</value></item-id></result>

2021-05-12 22:58:14 | contains: true

2021-05-12 22:58:14 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_5x3uji0205]

2021-05-12 22:58:29 | [Mutex] timeout. Not received [user_regulari3vi8f0202@test-domain.com:message:received:content_5x3uji0205]

2021-05-12 22:58:29 | [Mutex] isItemNotified: user_regulari3vi8f0202@test-domain.com:message:received:content_5x3uji0205 :: false

2021-05-12 22:58:29 |


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


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

2021-05-12 22:58:29 | command: <data><node>node_vlku6b0203</node><entry><content>content_1vw1m10206</content></entry></data>

2021-05-12 22:58:29 | target: http://localhost:8088

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

2021-05-12 22:58:29 | entity: <data><node>node_vlku6b0203</node><entry><content>content_1vw1m10206</content></entry></data>

2021-05-12 22:58:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:58:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:58:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0985af7a-7a5d-482c-98e0-9a0f4f9533a6</value></item-id></result>

2021-05-12 22:58:29 | contains: true

2021-05-12 22:58:34 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_1vw1m10206]

2021-05-12 22:58:34 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_1vw1m10206]

2021-05-12 22:58:34 | [Mutex] received everything.

2021-05-12 22:58:34 | [Mutex] isItemNotified: user_regulari3vi8f0202@test-domain.com:message:received:content_1vw1m10206 :: true

2021-05-12 22:58:34 |


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


2021-05-12 22:58:34 | [Mutex] received everything.

2021-05-12 22:58:34 | [Mutex] isItemNotified: node_vlku6b0203:subscribe_node:success :: true

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

2021-05-12 22:58:34 | command: <data><node>node_vlku6b0203</node><expire-at>2021-05-13T05:58:39Z</expire-at><entry><content>content_82bfp40207</content></entry></data>

2021-05-12 22:58:34 | target: http://localhost:8088

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

2021-05-12 22:58:34 | entity: <data><node>node_vlku6b0203</node><expire-at>2021-05-13T05:58:39Z</expire-at><entry><content>content_82bfp40207</content></entry></data>

2021-05-12 22:58:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:58:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:58:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac54e04f-aa69-40e1-b0ec-ec0e4698402d</value></item-id></result>

2021-05-12 22:58:34 | contains: true

2021-05-12 22:58:42 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_82bfp40207]

2021-05-12 22:58:42 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_82bfp40207]

2021-05-12 22:58:42 | [Mutex] waiting for: [user_regulari3vi8f0202@test-domain.com:message:received:content_82bfp40207]

2021-05-12 22:58:57 | [Mutex] timeout. Not received [user_regulari3vi8f0202@test-domain.com:message:received:content_82bfp40207]

2021-05-12 22:58:57 | [Mutex] received everything.

2021-05-12 22:58:57 | [Mutex] isItemNotified: user_regulari3vi8f0202@test-domain.com:message:received:content_82bfp40207 :: false

2021-05-12 22:58:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_82bfp40207 :: true