Generated by TestNG with ReportNG at 23:01 PDT on Tuesday 20 October 2020
root@43fec6d4badf / 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.430s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.856s
2020-10-20 23:19:41 |

2020-10-20 23:19:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-20 23:19:41 | ------------------------------------

2020-10-20 23:19:41 | [Mutex] isItemNotified: node_8f3kpj0203:exists :: false

2020-10-20 23:19:41 | [Mutex] waiting for: [node_8f3kpj0203:create_node]

2020-10-20 23:19:41 | [Mutex] received everything.

2020-10-20 23:19:41 | [Mutex] isItemNotified: node_8f3kpj0203:create_node:success :: true

2020-10-20 23:19:41 | [Mutex] waiting for: [node_8f3kpj0203:subscribe_node]

2020-10-20 23:19:41 | [Mutex] waiting for: [node_8f3kpj0203:subscribe_node]

2020-10-20 23:19:41 | [Mutex] received everything.

2020-10-20 23:19:41 | [Mutex] isItemNotified: node_8f3kpj0203:subscribe_node:success :: true

2020-10-20 23:19:41 |


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


2020-10-20 23:19:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:19:41 | command: <data><node>node_8f3kpj0203</node><entry><content>content_lxe0eq0204</content></entry></data>

2020-10-20 23:19:41 | target: http://localhost:8088

2020-10-20 23:19:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 23:19:41 | entity: <data><node>node_8f3kpj0203</node><entry><content>content_lxe0eq0204</content></entry></data>

2020-10-20 23:19:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:19:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:19:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>456946de-f34c-4df4-b7e8-5aecbd8c74fd</value></item-id></result>

2020-10-20 23:19:41 | contains: true

2020-10-20 23:19:41 | [Mutex] received everything.

2020-10-20 23:19:41 | [Mutex] isItemNotified: user_regularw1vy9r0202@test-domain.com:message:received:content_lxe0eq0204 :: true

2020-10-20 23:19:41 |


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


2020-10-20 23:19:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:19:41 | command: <data><node>node_8f3kpj0203</node><expire-at>2020-10-21T06:19:36Z</expire-at><entry><content>content_q0jnfj0205</content></entry></data>

2020-10-20 23:19:41 | target: http://localhost:8088

2020-10-20 23:19:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 23:19:41 | entity: <data><node>node_8f3kpj0203</node><expire-at>2020-10-21T06:19:36Z</expire-at><entry><content>content_q0jnfj0205</content></entry></data>

2020-10-20 23:19:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:19:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:19:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>262b6726-6dc2-46e5-b221-e794f5621a04</value></item-id></result>

2020-10-20 23:19:42 | contains: true

2020-10-20 23:19:42 | [Mutex] waiting for: [user_regularw1vy9r0202@test-domain.com:message:received:content_q0jnfj0205]

2020-10-20 23:19:57 | [Mutex] timeout. Not received [user_regularw1vy9r0202@test-domain.com:message:received:content_q0jnfj0205]

2020-10-20 23:19:57 | [Mutex] isItemNotified: user_regularw1vy9r0202@test-domain.com:message:received:content_q0jnfj0205 :: false

2020-10-20 23:19:57 |


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


2020-10-20 23:19:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:19:57 | command: <data><node>node_8f3kpj0203</node><entry><content>content_tjkgq70206</content></entry></data>

2020-10-20 23:19:57 | target: http://localhost:8088

2020-10-20 23:19:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 23:19:57 | entity: <data><node>node_8f3kpj0203</node><entry><content>content_tjkgq70206</content></entry></data>

2020-10-20 23:19:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:19:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:19:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e5b0c29-8b57-4e9d-8d6e-2479c4ecec2c</value></item-id></result>

2020-10-20 23:19:57 | contains: true

2020-10-20 23:20:02 | [Mutex] waiting for: [user_regularw1vy9r0202@test-domain.com:message:received:content_tjkgq70206]

2020-10-20 23:20:02 | [Mutex] received everything.

2020-10-20 23:20:02 | [Mutex] isItemNotified: user_regularw1vy9r0202@test-domain.com:message:received:content_tjkgq70206 :: true

2020-10-20 23:20:02 |


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


2020-10-20 23:20:02 | [Mutex] received everything.

2020-10-20 23:20:02 | [Mutex] isItemNotified: node_8f3kpj0203:subscribe_node:success :: true

2020-10-20 23:20:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:20:02 | command: <data><node>node_8f3kpj0203</node><expire-at>2020-10-21T06:20:07Z</expire-at><entry><content>content_iex1090207</content></entry></data>

2020-10-20 23:20:02 | target: http://localhost:8088

2020-10-20 23:20:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 23:20:02 | entity: <data><node>node_8f3kpj0203</node><expire-at>2020-10-21T06:20:07Z</expire-at><entry><content>content_iex1090207</content></entry></data>

2020-10-20 23:20:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:20:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:20:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>796a20c3-2de4-4a1f-95ec-d09811fa243e</value></item-id></result>

2020-10-20 23:20:02 | contains: true

2020-10-20 23:20:10 | [Mutex] waiting for: [user_regularw1vy9r0202@test-domain.com:message:received:content_iex1090207]

2020-10-20 23:20:25 | [Mutex] timeout. Not received [user_regularw1vy9r0202@test-domain.com:message:received:content_iex1090207]

2020-10-20 23:20:25 | [Mutex] received everything.

2020-10-20 23:20:25 | [Mutex] isItemNotified: user_regularw1vy9r0202@test-domain.com:message:received:content_iex1090207 :: false

2020-10-20 23:20:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iex1090207 :: true