Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 19 July 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.906s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.621s
2022-07-19 22:32:04 |

2022-07-19 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-19 22:32:04 | ------------------------------------

2022-07-19 22:32:04 | [Mutex] isItemNotified: node_kmysjv0204:exists :: false

2022-07-19 22:32:04 | [Mutex] waiting for: [node_kmysjv0204:create_node]

2022-07-19 22:32:04 | [Mutex] waiting for: [node_kmysjv0204:create_node]

2022-07-19 22:32:04 | [Mutex] received everything.

2022-07-19 22:32:04 | [Mutex] isItemNotified: node_kmysjv0204:create_node:success :: true

2022-07-19 22:32:04 | [Mutex] waiting for: [node_kmysjv0204:subscribe_node]

2022-07-19 22:32:04 | [Mutex] waiting for: [node_kmysjv0204:subscribe_node]

2022-07-19 22:32:04 | [Mutex] received everything.

2022-07-19 22:32:04 | [Mutex] isItemNotified: node_kmysjv0204:subscribe_node:success :: true

2022-07-19 22:32:04 |


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


2022-07-19 22:32:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-19 22:32:04 | command: <data><node>node_kmysjv0204</node><entry><content>content_cb34q40205</content></entry></data>

2022-07-19 22:32:04 | target: http://localhost:8088

2022-07-19 22:32:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-19 22:32:04 | entity: <data><node>node_kmysjv0204</node><entry><content>content_cb34q40205</content></entry></data>

2022-07-19 22:32:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:32:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-19 22:32:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>82518599-db5d-4733-b4fc-c66fdd7faad6</value></item-id></result>

2022-07-19 22:32:04 | contains: true

2022-07-19 22:32:04 | [Mutex] received everything.

2022-07-19 22:32:04 | [Mutex] isItemNotified: user_regulara6s2j40203@test-domain.com:message:received:content_cb34q40205 :: true

2022-07-19 22:32:04 |


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


2022-07-19 22:32:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-19 22:32:04 | command: <data><node>node_kmysjv0204</node><expire-at>2022-07-20T05:31:59Z</expire-at><entry><content>content_b6uixo0206</content></entry></data>

2022-07-19 22:32:04 | target: http://localhost:8088

2022-07-19 22:32:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-19 22:32:04 | entity: <data><node>node_kmysjv0204</node><expire-at>2022-07-20T05:31:59Z</expire-at><entry><content>content_b6uixo0206</content></entry></data>

2022-07-19 22:32:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:32:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-19 22:32:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6fe501ca-a951-4d4b-bb28-4e5319385fc5</value></item-id></result>

2022-07-19 22:32:04 | contains: true

2022-07-19 22:32:04 | [Mutex] waiting for: [user_regulara6s2j40203@test-domain.com:message:received:content_b6uixo0206]

2022-07-19 22:32:19 | [Mutex] timeout. Not received [user_regulara6s2j40203@test-domain.com:message:received:content_b6uixo0206]

2022-07-19 22:32:19 | [Mutex] isItemNotified: user_regulara6s2j40203@test-domain.com:message:received:content_b6uixo0206 :: false

2022-07-19 22:32:19 |


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


2022-07-19 22:32:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-19 22:32:19 | command: <data><node>node_kmysjv0204</node><entry><content>content_acu5c50207</content></entry></data>

2022-07-19 22:32:19 | target: http://localhost:8088

2022-07-19 22:32:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-19 22:32:19 | entity: <data><node>node_kmysjv0204</node><entry><content>content_acu5c50207</content></entry></data>

2022-07-19 22:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:32:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-19 22:32:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2bf0ba98-6b79-40df-bb92-bf063bcebab8</value></item-id></result>

2022-07-19 22:32:19 | contains: true

2022-07-19 22:32:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-19 22:32:24 | [Mutex] waiting for: [user_regulara6s2j40203@test-domain.com:message:received:content_acu5c50207]

2022-07-19 22:32:24 | [Mutex] waiting for: [user_regulara6s2j40203@test-domain.com:message:received:content_acu5c50207]

2022-07-19 22:32:24 | [Mutex] received everything.

2022-07-19 22:32:24 | [Mutex] isItemNotified: user_regulara6s2j40203@test-domain.com:message:received:content_acu5c50207 :: true

2022-07-19 22:32:24 |


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


2022-07-19 22:32:24 | [Mutex] received everything.

2022-07-19 22:32:24 | [Mutex] isItemNotified: node_kmysjv0204:subscribe_node:success :: true

2022-07-19 22:32:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-19 22:32:24 | command: <data><node>node_kmysjv0204</node><expire-at>2022-07-20T05:32:29Z</expire-at><entry><content>content_ntv79t0208</content></entry></data>

2022-07-19 22:32:24 | target: http://localhost:8088

2022-07-19 22:32:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-19 22:32:24 | entity: <data><node>node_kmysjv0204</node><expire-at>2022-07-20T05:32:29Z</expire-at><entry><content>content_ntv79t0208</content></entry></data>

2022-07-19 22:32:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:32:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-19 22:32:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80db81fe-ef19-4e7b-a077-1ec2677f936c</value></item-id></result>

2022-07-19 22:32:24 | contains: true

2022-07-19 22:32:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-19 22:32:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-19 22:32:32 | [Mutex] waiting for: [user_regulara6s2j40203@test-domain.com:message:received:content_ntv79t0208]

2022-07-19 22:32:32 | [Mutex] waiting for: [user_regulara6s2j40203@test-domain.com:message:received:content_ntv79t0208]

2022-07-19 22:32:47 | [Mutex] timeout. Not received [user_regulara6s2j40203@test-domain.com:message:received:content_ntv79t0208]

2022-07-19 22:32:47 | [Mutex] received everything.

2022-07-19 22:32:47 | [Mutex] isItemNotified: user_regulara6s2j40203@test-domain.com:message:received:content_ntv79t0208 :: false

2022-07-19 22:32:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ntv79t0208 :: true