Generated by TestNG with ReportNG at 22:13 PDT on Sunday 04 October 2020
root@87f6aca6b6f2 / 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.153s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.695s
2020-10-04 22:30:12 |

2020-10-04 22:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-04 22:30:12 | ------------------------------------

2020-10-04 22:30:12 | [Mutex] isItemNotified: node_wovrxu0203:exists :: false

2020-10-04 22:30:12 | [Mutex] waiting for: [node_wovrxu0203:create_node]

2020-10-04 22:30:12 | [Mutex] received everything.

2020-10-04 22:30:12 | [Mutex] isItemNotified: node_wovrxu0203:create_node:success :: true

2020-10-04 22:30:12 | [Mutex] waiting for: [node_wovrxu0203:subscribe_node]

2020-10-04 22:30:12 | [Mutex] received everything.

2020-10-04 22:30:12 | [Mutex] isItemNotified: node_wovrxu0203:subscribe_node:success :: true

2020-10-04 22:30:12 |


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


2020-10-04 22:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:12 | command: <data><node>node_wovrxu0203</node><entry><content>content_bis57i0204</content></entry></data>

2020-10-04 22:30:12 | target: http://localhost:8088

2020-10-04 22:30:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-04 22:30:12 | entity: <data><node>node_wovrxu0203</node><entry><content>content_bis57i0204</content></entry></data>

2020-10-04 22:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>442e6ee0-5226-495c-9170-d61e9b574856</value></item-id></result>

2020-10-04 22:30:12 | contains: true

2020-10-04 22:30:12 | [Mutex] received everything.

2020-10-04 22:30:12 | [Mutex] isItemNotified: user_regularh8252q0202@test-domain.com:message:received:content_bis57i0204 :: true

2020-10-04 22:30:12 |


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


2020-10-04 22:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:12 | command: <data><node>node_wovrxu0203</node><expire-at>2020-10-05T05:30:07Z</expire-at><entry><content>content_cmvhf70205</content></entry></data>

2020-10-04 22:30:12 | target: http://localhost:8088

2020-10-04 22:30:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-04 22:30:12 | entity: <data><node>node_wovrxu0203</node><expire-at>2020-10-05T05:30:07Z</expire-at><entry><content>content_cmvhf70205</content></entry></data>

2020-10-04 22:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef5a36d9-7e23-4bd6-9b4d-48a630527f27</value></item-id></result>

2020-10-04 22:30:12 | contains: true

2020-10-04 22:30:12 | [Mutex] waiting for: [user_regularh8252q0202@test-domain.com:message:received:content_cmvhf70205]

2020-10-04 22:30:27 | [Mutex] timeout. Not received [user_regularh8252q0202@test-domain.com:message:received:content_cmvhf70205]

2020-10-04 22:30:27 | [Mutex] isItemNotified: user_regularh8252q0202@test-domain.com:message:received:content_cmvhf70205 :: false

2020-10-04 22:30:27 |


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


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

2020-10-04 22:30:27 | command: <data><node>node_wovrxu0203</node><entry><content>content_95d9lo0206</content></entry></data>

2020-10-04 22:30:27 | target: http://localhost:8088

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

2020-10-04 22:30:27 | entity: <data><node>node_wovrxu0203</node><entry><content>content_95d9lo0206</content></entry></data>

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

2020-10-04 22:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>125bb43c-6aeb-408e-a161-73cb18366f57</value></item-id></result>

2020-10-04 22:30:27 | contains: true

2020-10-04 22:30:32 | [Mutex] waiting for: [user_regularh8252q0202@test-domain.com:message:received:content_95d9lo0206]

2020-10-04 22:30:32 | [Mutex] received everything.

2020-10-04 22:30:32 | [Mutex] isItemNotified: user_regularh8252q0202@test-domain.com:message:received:content_95d9lo0206 :: true

2020-10-04 22:30:32 |


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


2020-10-04 22:30:32 | [Mutex] received everything.

2020-10-04 22:30:32 | [Mutex] isItemNotified: node_wovrxu0203:subscribe_node:success :: true

2020-10-04 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:32 | command: <data><node>node_wovrxu0203</node><expire-at>2020-10-05T05:30:37Z</expire-at><entry><content>content_6qcmgi0207</content></entry></data>

2020-10-04 22:30:32 | target: http://localhost:8088

2020-10-04 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-04 22:30:32 | entity: <data><node>node_wovrxu0203</node><expire-at>2020-10-05T05:30:37Z</expire-at><entry><content>content_6qcmgi0207</content></entry></data>

2020-10-04 22:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0c63c38e-a839-465c-bf2a-778f9528d40e</value></item-id></result>

2020-10-04 22:30:33 | contains: true

2020-10-04 22:30:41 | [Mutex] waiting for: [user_regularh8252q0202@test-domain.com:message:received:content_6qcmgi0207]

2020-10-04 22:30:41 | [Mutex] waiting for: [user_regularh8252q0202@test-domain.com:message:received:content_6qcmgi0207]

2020-10-04 22:30:41 | [Mutex] waiting for: [user_regularh8252q0202@test-domain.com:message:received:content_6qcmgi0207]

2020-10-04 22:30:56 | [Mutex] timeout. Not received [user_regularh8252q0202@test-domain.com:message:received:content_6qcmgi0207]

2020-10-04 22:30:56 | [Mutex] received everything.

2020-10-04 22:30:56 | [Mutex] isItemNotified: user_regularh8252q0202@test-domain.com:message:received:content_6qcmgi0207 :: false

2020-10-04 22:30:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6qcmgi0207 :: true