Generated by TestNG with ReportNG at 21:56 PST on Wednesday 19 January 2022
root@f29ef40080b5 / 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.087s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2022-01-19 22:12:15 |

2022-01-19 22:12:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-01-19 22:12:15 | ------------------------------------

2022-01-19 22:12:15 | [Mutex] isItemNotified: node_7x1n3w0203:exists :: false

2022-01-19 22:12:15 | [Mutex] waiting for: [node_7x1n3w0203:create_node]

2022-01-19 22:12:15 | [Mutex] received everything.

2022-01-19 22:12:15 | [Mutex] isItemNotified: node_7x1n3w0203:create_node:success :: true

2022-01-19 22:12:15 | [Mutex] waiting for: [node_7x1n3w0203:subscribe_node]

2022-01-19 22:12:15 | [Mutex] received everything.

2022-01-19 22:12:15 | [Mutex] isItemNotified: node_7x1n3w0203:subscribe_node:success :: true

2022-01-19 22:12:15 |


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


2022-01-19 22:12:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 22:12:15 | command: <data><node>node_7x1n3w0203</node><entry><content>content_jrbv8b0204</content></entry></data>

2022-01-19 22:12:15 | target: http://localhost:8088

2022-01-19 22:12:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-19 22:12:15 | entity: <data><node>node_7x1n3w0203</node><entry><content>content_jrbv8b0204</content></entry></data>

2022-01-19 22:12:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:12:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 22:12:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be48ea75-d8dc-43e7-9337-287f49a482d8</value></item-id></result>

2022-01-19 22:12:15 | contains: true

2022-01-19 22:12:15 | [Mutex] waiting for: [user_regularawwn5s0202@test-domain.com:message:received:content_jrbv8b0204]

2022-01-19 22:12:15 | [Mutex] received everything.

2022-01-19 22:12:15 | [Mutex] isItemNotified: user_regularawwn5s0202@test-domain.com:message:received:content_jrbv8b0204 :: true

2022-01-19 22:12:15 |


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


2022-01-19 22:12:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 22:12:15 | command: <data><node>node_7x1n3w0203</node><expire-at>2022-01-20T06:12:10Z</expire-at><entry><content>content_10lo590205</content></entry></data>

2022-01-19 22:12:15 | target: http://localhost:8088

2022-01-19 22:12:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-19 22:12:15 | entity: <data><node>node_7x1n3w0203</node><expire-at>2022-01-20T06:12:10Z</expire-at><entry><content>content_10lo590205</content></entry></data>

2022-01-19 22:12:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:12:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 22:12:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b04e2b0d-4903-441a-8142-7559297ca64b</value></item-id></result>

2022-01-19 22:12:15 | contains: true

2022-01-19 22:12:15 | [Mutex] waiting for: [user_regularawwn5s0202@test-domain.com:message:received:content_10lo590205]

2022-01-19 22:12:30 | [Mutex] timeout. Not received [user_regularawwn5s0202@test-domain.com:message:received:content_10lo590205]

2022-01-19 22:12:30 | [Mutex] isItemNotified: user_regularawwn5s0202@test-domain.com:message:received:content_10lo590205 :: false

2022-01-19 22:12:30 |


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


2022-01-19 22:12:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 22:12:30 | command: <data><node>node_7x1n3w0203</node><entry><content>content_8zkb4b0206</content></entry></data>

2022-01-19 22:12:30 | target: http://localhost:8088

2022-01-19 22:12:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-19 22:12:30 | entity: <data><node>node_7x1n3w0203</node><entry><content>content_8zkb4b0206</content></entry></data>

2022-01-19 22:12:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:12:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 22:12:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b08bbcc9-7aff-4b33-9c0a-2187da9737a2</value></item-id></result>

2022-01-19 22:12:31 | contains: true

2022-01-19 22:12:36 | [Mutex] waiting for: [user_regularawwn5s0202@test-domain.com:message:received:content_8zkb4b0206]

2022-01-19 22:12:36 | [Mutex] received everything.

2022-01-19 22:12:36 | [Mutex] isItemNotified: user_regularawwn5s0202@test-domain.com:message:received:content_8zkb4b0206 :: true

2022-01-19 22:12:36 |


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


2022-01-19 22:12:36 | [Mutex] received everything.

2022-01-19 22:12:36 | [Mutex] isItemNotified: node_7x1n3w0203:subscribe_node:success :: true

2022-01-19 22:12:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 22:12:36 | command: <data><node>node_7x1n3w0203</node><expire-at>2022-01-20T06:12:41Z</expire-at><entry><content>content_tonfnp0207</content></entry></data>

2022-01-19 22:12:36 | target: http://localhost:8088

2022-01-19 22:12:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-19 22:12:36 | entity: <data><node>node_7x1n3w0203</node><expire-at>2022-01-20T06:12:41Z</expire-at><entry><content>content_tonfnp0207</content></entry></data>

2022-01-19 22:12:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:12:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 22:12:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a50ec9f8-c962-481d-bf19-1f4c3103941c</value></item-id></result>

2022-01-19 22:12:36 | contains: true

2022-01-19 22:12:44 | [Mutex] waiting for: [user_regularawwn5s0202@test-domain.com:message:received:content_tonfnp0207]

2022-01-19 22:12:59 | [Mutex] timeout. Not received [user_regularawwn5s0202@test-domain.com:message:received:content_tonfnp0207]

2022-01-19 22:12:59 | [Mutex] received everything.

2022-01-19 22:12:59 | [Mutex] isItemNotified: user_regularawwn5s0202@test-domain.com:message:received:content_tonfnp0207 :: false

2022-01-19 22:12:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tonfnp0207 :: true