Generated by TestNG with ReportNG at 22:21 PDT on Thursday 25 March 2021
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 : 44.884s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.581s
2021-03-25 22:36:34 |

2021-03-25 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-25 22:36:34 | ------------------------------------

2021-03-25 22:36:34 | [Mutex] isItemNotified: node_4fhosq0203:exists :: false

2021-03-25 22:36:34 | [Mutex] waiting for: [node_4fhosq0203:create_node]

2021-03-25 22:36:34 | [Mutex] received everything.

2021-03-25 22:36:34 | [Mutex] isItemNotified: node_4fhosq0203:create_node:success :: true

2021-03-25 22:36:34 | [Mutex] waiting for: [node_4fhosq0203:subscribe_node]

2021-03-25 22:36:34 | [Mutex] waiting for: [node_4fhosq0203:subscribe_node]

2021-03-25 22:36:34 | [Mutex] received everything.

2021-03-25 22:36:34 | [Mutex] isItemNotified: node_4fhosq0203:subscribe_node:success :: true

2021-03-25 22:36:34 |


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


2021-03-25 22:36:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:36:34 | command: <data><node>node_4fhosq0203</node><entry><content>content_5mmd8m0204</content></entry></data>

2021-03-25 22:36:34 | target: http://localhost:8088

2021-03-25 22:36:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-25 22:36:34 | entity: <data><node>node_4fhosq0203</node><entry><content>content_5mmd8m0204</content></entry></data>

2021-03-25 22:36:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:36:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:36:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0805e5bb-49c8-4aad-b591-e59e1dbff7b7</value></item-id></result>

2021-03-25 22:36:34 | contains: true

2021-03-25 22:36:34 | [Mutex] received everything.

2021-03-25 22:36:34 | [Mutex] isItemNotified: user_regulare9qi2y0202@test-domain.com:message:received:content_5mmd8m0204 :: true

2021-03-25 22:36:34 |


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


2021-03-25 22:36:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:36:34 | command: <data><node>node_4fhosq0203</node><expire-at>2021-03-26T05:36:29Z</expire-at><entry><content>content_q7f9i10205</content></entry></data>

2021-03-25 22:36:34 | target: http://localhost:8088

2021-03-25 22:36:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-25 22:36:34 | entity: <data><node>node_4fhosq0203</node><expire-at>2021-03-26T05:36:29Z</expire-at><entry><content>content_q7f9i10205</content></entry></data>

2021-03-25 22:36:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:36:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:36:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ffa5148c-e4a9-49ef-bba0-e62c857f2289</value></item-id></result>

2021-03-25 22:36:34 | contains: true

2021-03-25 22:36:34 | [Mutex] waiting for: [user_regulare9qi2y0202@test-domain.com:message:received:content_q7f9i10205]

2021-03-25 22:36:49 | [Mutex] timeout. Not received [user_regulare9qi2y0202@test-domain.com:message:received:content_q7f9i10205]

2021-03-25 22:36:49 | [Mutex] isItemNotified: user_regulare9qi2y0202@test-domain.com:message:received:content_q7f9i10205 :: false

2021-03-25 22:36:49 |


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


2021-03-25 22:36:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:36:49 | command: <data><node>node_4fhosq0203</node><entry><content>content_xlihxx0206</content></entry></data>

2021-03-25 22:36:49 | target: http://localhost:8088

2021-03-25 22:36:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-25 22:36:49 | entity: <data><node>node_4fhosq0203</node><entry><content>content_xlihxx0206</content></entry></data>

2021-03-25 22:36:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:36:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:36:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3d901fe-c2e2-4df7-a111-b7ae8dccb1c7</value></item-id></result>

2021-03-25 22:36:49 | contains: true

2021-03-25 22:36:54 | [Mutex] waiting for: [user_regulare9qi2y0202@test-domain.com:message:received:content_xlihxx0206]

2021-03-25 22:36:54 | [Mutex] waiting for: [user_regulare9qi2y0202@test-domain.com:message:received:content_xlihxx0206]

2021-03-25 22:36:54 | [Mutex] received everything.

2021-03-25 22:36:54 | [Mutex] isItemNotified: user_regulare9qi2y0202@test-domain.com:message:received:content_xlihxx0206 :: true

2021-03-25 22:36:54 |


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


2021-03-25 22:36:54 | [Mutex] received everything.

2021-03-25 22:36:54 | [Mutex] isItemNotified: node_4fhosq0203:subscribe_node:success :: true

2021-03-25 22:36:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-25 22:36:54 | command: <data><node>node_4fhosq0203</node><expire-at>2021-03-26T05:36:59Z</expire-at><entry><content>content_g263r30207</content></entry></data>

2021-03-25 22:36:54 | target: http://localhost:8088

2021-03-25 22:36:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-25 22:36:54 | entity: <data><node>node_4fhosq0203</node><expire-at>2021-03-26T05:36:59Z</expire-at><entry><content>content_g263r30207</content></entry></data>

2021-03-25 22:36:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 05:36:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-25 22:36:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7db3150b-474b-499e-9a29-0d8ffcf966a7</value></item-id></result>

2021-03-25 22:36:54 | contains: true

2021-03-25 22:37:02 | [Mutex] waiting for: [user_regulare9qi2y0202@test-domain.com:message:received:content_g263r30207]

2021-03-25 22:37:17 | [Mutex] timeout. Not received [user_regulare9qi2y0202@test-domain.com:message:received:content_g263r30207]

2021-03-25 22:37:17 | [Mutex] received everything.

2021-03-25 22:37:17 | [Mutex] isItemNotified: user_regulare9qi2y0202@test-domain.com:message:received:content_g263r30207 :: false

2021-03-25 22:37:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g263r30207 :: true