Generated by TestNG with ReportNG at 22:25 PDT on Tuesday 24 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.582s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.674s
2022-05-24 22:40:13 |

2022-05-24 22:40:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-24 22:40:13 | ------------------------------------

2022-05-24 22:40:13 | [Mutex] isItemNotified: node_n8d9jm0204:exists :: false

2022-05-24 22:40:13 | [Mutex] waiting for: [node_n8d9jm0204:create_node]

2022-05-24 22:40:13 | [Mutex] received everything.

2022-05-24 22:40:13 | [Mutex] isItemNotified: node_n8d9jm0204:create_node:success :: true

2022-05-24 22:40:13 | [Mutex] waiting for: [node_n8d9jm0204:subscribe_node]

2022-05-24 22:40:14 | [Mutex] waiting for: [node_n8d9jm0204:subscribe_node]

2022-05-24 22:40:14 | [Mutex] received everything.

2022-05-24 22:40:14 | [Mutex] isItemNotified: node_n8d9jm0204:subscribe_node:success :: true

2022-05-24 22:40:14 |


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


2022-05-24 22:40:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:40:14 | command: <data><node>node_n8d9jm0204</node><entry><content>content_8n6a1l0205</content></entry></data>

2022-05-24 22:40:14 | target: http://localhost:8088

2022-05-24 22:40:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 22:40:14 | entity: <data><node>node_n8d9jm0204</node><entry><content>content_8n6a1l0205</content></entry></data>

2022-05-24 22:40:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:40:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:40:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>488f3679-81de-448d-a35c-e80f3e9a378b</value></item-id></result>

2022-05-24 22:40:14 | contains: true

2022-05-24 22:40:14 | [Mutex] waiting for: [user_regulari1717c0203@test-domain.com:message:received:content_8n6a1l0205]

2022-05-24 22:40:14 | [Mutex] received everything.

2022-05-24 22:40:14 | [Mutex] isItemNotified: user_regulari1717c0203@test-domain.com:message:received:content_8n6a1l0205 :: true

2022-05-24 22:40:14 |


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


2022-05-24 22:40:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:40:14 | command: <data><node>node_n8d9jm0204</node><expire-at>2022-05-25T05:40:09Z</expire-at><entry><content>content_vtqtqm0206</content></entry></data>

2022-05-24 22:40:14 | target: http://localhost:8088

2022-05-24 22:40:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 22:40:14 | entity: <data><node>node_n8d9jm0204</node><expire-at>2022-05-25T05:40:09Z</expire-at><entry><content>content_vtqtqm0206</content></entry></data>

2022-05-24 22:40:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:40:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:40:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bac359ef-9000-47ea-bd57-f4a081571f4f</value></item-id></result>

2022-05-24 22:40:14 | contains: true

2022-05-24 22:40:14 | [Mutex] waiting for: [user_regulari1717c0203@test-domain.com:message:received:content_vtqtqm0206]

2022-05-24 22:40:29 | [Mutex] timeout. Not received [user_regulari1717c0203@test-domain.com:message:received:content_vtqtqm0206]

2022-05-24 22:40:29 | [Mutex] isItemNotified: user_regulari1717c0203@test-domain.com:message:received:content_vtqtqm0206 :: false

2022-05-24 22:40:29 |


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


2022-05-24 22:40:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:40:29 | command: <data><node>node_n8d9jm0204</node><entry><content>content_78n69l0207</content></entry></data>

2022-05-24 22:40:29 | target: http://localhost:8088

2022-05-24 22:40:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 22:40:29 | entity: <data><node>node_n8d9jm0204</node><entry><content>content_78n69l0207</content></entry></data>

2022-05-24 22:40:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:40:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:40:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>679f20a3-94b1-4c41-a8e7-8044bf7bc8e5</value></item-id></result>

2022-05-24 22:40:29 | contains: true

2022-05-24 22:40:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 22:40:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 22:40:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 22:40:34 | [Mutex] waiting for: [user_regulari1717c0203@test-domain.com:message:received:content_78n69l0207]

2022-05-24 22:40:34 | [Mutex] waiting for: [user_regulari1717c0203@test-domain.com:message:received:content_78n69l0207]

2022-05-24 22:40:34 | [Mutex] received everything.

2022-05-24 22:40:34 | [Mutex] isItemNotified: user_regulari1717c0203@test-domain.com:message:received:content_78n69l0207 :: true

2022-05-24 22:40:34 |


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


2022-05-24 22:40:34 | [Mutex] received everything.

2022-05-24 22:40:34 | [Mutex] isItemNotified: node_n8d9jm0204:subscribe_node:success :: true

2022-05-24 22:40:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:40:34 | command: <data><node>node_n8d9jm0204</node><expire-at>2022-05-25T05:40:39Z</expire-at><entry><content>content_dllgma0208</content></entry></data>

2022-05-24 22:40:34 | target: http://localhost:8088

2022-05-24 22:40:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 22:40:34 | entity: <data><node>node_n8d9jm0204</node><expire-at>2022-05-25T05:40:39Z</expire-at><entry><content>content_dllgma0208</content></entry></data>

2022-05-24 22:40:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:40:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:40:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0c18632c-607a-4515-88fd-cbb3e9003203</value></item-id></result>

2022-05-24 22:40:34 | contains: true

2022-05-24 22:40:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 22:40:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 22:40:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 22:40:42 | [Mutex] waiting for: [user_regulari1717c0203@test-domain.com:message:received:content_dllgma0208]

2022-05-24 22:40:42 | [Mutex] waiting for: [user_regulari1717c0203@test-domain.com:message:received:content_dllgma0208]

2022-05-24 22:40:57 | [Mutex] timeout. Not received [user_regulari1717c0203@test-domain.com:message:received:content_dllgma0208]

2022-05-24 22:40:57 | [Mutex] received everything.

2022-05-24 22:40:57 | [Mutex] isItemNotified: user_regulari1717c0203@test-domain.com:message:received:content_dllgma0208 :: false

2022-05-24 22:40:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dllgma0208 :: true