Generated by TestNG with ReportNG at 09:57 PST on Friday 30 December 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.838s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.656s
2022-12-30 10:12:16 |

2022-12-30 10:12:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-30 10:12:16 | ------------------------------------

2022-12-30 10:12:16 | [Mutex] isItemNotified: node_6gi1fv0204:exists :: false

2022-12-30 10:12:16 | [Mutex] waiting for: [node_6gi1fv0204:create_node]

2022-12-30 10:12:16 | [Mutex] waiting for: [node_6gi1fv0204:create_node]

2022-12-30 10:12:16 | [Mutex] received everything.

2022-12-30 10:12:16 | [Mutex] isItemNotified: node_6gi1fv0204:create_node:success :: true

2022-12-30 10:12:16 | [Mutex] waiting for: [node_6gi1fv0204:subscribe_node]

2022-12-30 10:12:16 | [Mutex] waiting for: [node_6gi1fv0204:subscribe_node]

2022-12-30 10:12:16 | [Mutex] received everything.

2022-12-30 10:12:16 | [Mutex] isItemNotified: node_6gi1fv0204:subscribe_node:success :: true

2022-12-30 10:12:16 |


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


2022-12-30 10:12:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:12:16 | command: <data><node>node_6gi1fv0204</node><entry><content>content_6h2210205</content></entry></data>

2022-12-30 10:12:16 | target: http://localhost:8088

2022-12-30 10:12:16 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-12-30 10:12:16 | entity: <data><node>node_6gi1fv0204</node><entry><content>content_6h2210205</content></entry></data>

2022-12-30 10:12:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:12:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:12:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>48346c78-4db4-4fbf-9806-8ae7e41dbf6c</value></item-id></result>

2022-12-30 10:12:16 | contains: true

2022-12-30 10:12:16 | [Mutex] received everything.

2022-12-30 10:12:16 | [Mutex] isItemNotified: user_regularmdd3wz0203@test-domain.com:message:received:content_6h2210205 :: true

2022-12-30 10:12:16 |


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


2022-12-30 10:12:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:12:16 | command: <data><node>node_6gi1fv0204</node><expire-at>2022-12-30T18:12:11Z</expire-at><entry><content>content_z0fghf0206</content></entry></data>

2022-12-30 10:12:16 | target: http://localhost:8088

2022-12-30 10:12:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-30 10:12:16 | entity: <data><node>node_6gi1fv0204</node><expire-at>2022-12-30T18:12:11Z</expire-at><entry><content>content_z0fghf0206</content></entry></data>

2022-12-30 10:12:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:12:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:12:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9951aa2-dd6a-4538-8bf2-7b23504c63e9</value></item-id></result>

2022-12-30 10:12:16 | contains: true

2022-12-30 10:12:16 | [Mutex] waiting for: [user_regularmdd3wz0203@test-domain.com:message:received:content_z0fghf0206]

2022-12-30 10:12:31 | [Mutex] timeout. Not received [user_regularmdd3wz0203@test-domain.com:message:received:content_z0fghf0206]

2022-12-30 10:12:31 | [Mutex] isItemNotified: user_regularmdd3wz0203@test-domain.com:message:received:content_z0fghf0206 :: false

2022-12-30 10:12:31 |


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


2022-12-30 10:12:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:12:31 | command: <data><node>node_6gi1fv0204</node><entry><content>content_uawman0207</content></entry></data>

2022-12-30 10:12:31 | target: http://localhost:8088

2022-12-30 10:12:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-30 10:12:31 | entity: <data><node>node_6gi1fv0204</node><entry><content>content_uawman0207</content></entry></data>

2022-12-30 10:12:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:12:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:12:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f55cd1a-af36-41c9-97a1-b9d6cbc7afc4</value></item-id></result>

2022-12-30 10:12:31 | contains: true

2022-12-30 10:12:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-30 10:12:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-30 10:12:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-30 10:12:36 | [Mutex] waiting for: [user_regularmdd3wz0203@test-domain.com:message:received:content_uawman0207]

2022-12-30 10:12:36 | [Mutex] waiting for: [user_regularmdd3wz0203@test-domain.com:message:received:content_uawman0207]

2022-12-30 10:12:36 | [Mutex] received everything.

2022-12-30 10:12:36 | [Mutex] isItemNotified: user_regularmdd3wz0203@test-domain.com:message:received:content_uawman0207 :: true

2022-12-30 10:12:36 |


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


2022-12-30 10:12:36 | [Mutex] received everything.

2022-12-30 10:12:36 | [Mutex] isItemNotified: node_6gi1fv0204:subscribe_node:success :: true

2022-12-30 10:12:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:12:36 | command: <data><node>node_6gi1fv0204</node><expire-at>2022-12-30T18:12:41Z</expire-at><entry><content>content_dfzna70208</content></entry></data>

2022-12-30 10:12:36 | target: http://localhost:8088

2022-12-30 10:12:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-30 10:12:36 | entity: <data><node>node_6gi1fv0204</node><expire-at>2022-12-30T18:12:41Z</expire-at><entry><content>content_dfzna70208</content></entry></data>

2022-12-30 10:12:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:12:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:12:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a3cb5b9a-6061-4f09-bc53-ed16356f6fcc</value></item-id></result>

2022-12-30 10:12:36 | contains: true

2022-12-30 10:12:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-30 10:12:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-30 10:12:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-30 10:12:44 | [Mutex] waiting for: [user_regularmdd3wz0203@test-domain.com:message:received:content_dfzna70208]

2022-12-30 10:12:44 | [Mutex] waiting for: [user_regularmdd3wz0203@test-domain.com:message:received:content_dfzna70208]

2022-12-30 10:12:59 | [Mutex] timeout. Not received [user_regularmdd3wz0203@test-domain.com:message:received:content_dfzna70208]

2022-12-30 10:12:59 | [Mutex] received everything.

2022-12-30 10:12:59 | [Mutex] isItemNotified: user_regularmdd3wz0203@test-domain.com:message:received:content_dfzna70208 :: false

2022-12-30 10:12:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dfzna70208 :: true