Generated by TestNG with ReportNG at 22:49 PDT on Tuesday 20 September 2022
root@ed1b7dd8a1b3 / 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.456s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.533s
2022-09-20 23:03:52 |

2022-09-20 23:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-20 23:03:52 | ------------------------------------

2022-09-20 23:03:52 | [Mutex] isItemNotified: node_3cuwe90204:exists :: false

2022-09-20 23:03:52 | [Mutex] waiting for: [node_3cuwe90204:create_node]

2022-09-20 23:03:52 | [Mutex] received everything.

2022-09-20 23:03:52 | [Mutex] isItemNotified: node_3cuwe90204:create_node:success :: true

2022-09-20 23:03:52 | [Mutex] waiting for: [node_3cuwe90204:subscribe_node]

2022-09-20 23:03:52 | [Mutex] waiting for: [node_3cuwe90204:subscribe_node]

2022-09-20 23:03:52 | [Mutex] received everything.

2022-09-20 23:03:52 | [Mutex] isItemNotified: node_3cuwe90204:subscribe_node:success :: true

2022-09-20 23:03:52 |


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


2022-09-20 23:03:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 23:03:52 | command: <data><node>node_3cuwe90204</node><entry><content>content_96ce6r0205</content></entry></data>

2022-09-20 23:03:52 | target: http://localhost:8088

2022-09-20 23:03:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-20 23:03:52 | entity: <data><node>node_3cuwe90204</node><entry><content>content_96ce6r0205</content></entry></data>

2022-09-20 23:03:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 06:03:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 23:03:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68829583-e437-415b-be32-f968ff46e6b7</value></item-id></result>

2022-09-20 23:03:52 | contains: true

2022-09-20 23:03:52 | [Mutex] waiting for: [user_regular99acz90203@test-domain.com:message:received:content_96ce6r0205]

2022-09-20 23:03:52 | [Mutex] received everything.

2022-09-20 23:03:52 | [Mutex] isItemNotified: user_regular99acz90203@test-domain.com:message:received:content_96ce6r0205 :: true

2022-09-20 23:03:52 |


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


2022-09-20 23:03:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 23:03:52 | command: <data><node>node_3cuwe90204</node><expire-at>2022-09-21T06:03:47Z</expire-at><entry><content>content_glbsjo0206</content></entry></data>

2022-09-20 23:03:52 | target: http://localhost:8088

2022-09-20 23:03:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-20 23:03:52 | entity: <data><node>node_3cuwe90204</node><expire-at>2022-09-21T06:03:47Z</expire-at><entry><content>content_glbsjo0206</content></entry></data>

2022-09-20 23:03:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 06:03:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 23:03:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e23b76e-256c-4852-9752-c421a94e0d79</value></item-id></result>

2022-09-20 23:03:52 | contains: true

2022-09-20 23:03:52 | [Mutex] waiting for: [user_regular99acz90203@test-domain.com:message:received:content_glbsjo0206]

2022-09-20 23:04:07 | [Mutex] timeout. Not received [user_regular99acz90203@test-domain.com:message:received:content_glbsjo0206]

2022-09-20 23:04:07 | [Mutex] isItemNotified: user_regular99acz90203@test-domain.com:message:received:content_glbsjo0206 :: false

2022-09-20 23:04:07 |


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


2022-09-20 23:04:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 23:04:07 | command: <data><node>node_3cuwe90204</node><entry><content>content_j4ncg50207</content></entry></data>

2022-09-20 23:04:07 | target: http://localhost:8088

2022-09-20 23:04:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-20 23:04:07 | entity: <data><node>node_3cuwe90204</node><entry><content>content_j4ncg50207</content></entry></data>

2022-09-20 23:04:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 06:04:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 23:04:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>775d3203-11f7-4852-8bb5-5b2d27b40d02</value></item-id></result>

2022-09-20 23:04:07 | contains: true

2022-09-20 23:04:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-09-20 23:04:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-20 23:04:12 | [Mutex] waiting for: [user_regular99acz90203@test-domain.com:message:received:content_j4ncg50207]

2022-09-20 23:04:12 | [Mutex] received everything.

2022-09-20 23:04:12 | [Mutex] isItemNotified: user_regular99acz90203@test-domain.com:message:received:content_j4ncg50207 :: true

2022-09-20 23:04:12 |


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


2022-09-20 23:04:12 | [Mutex] received everything.

2022-09-20 23:04:12 | [Mutex] isItemNotified: node_3cuwe90204:subscribe_node:success :: true

2022-09-20 23:04:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 23:04:12 | command: <data><node>node_3cuwe90204</node><expire-at>2022-09-21T06:04:17Z</expire-at><entry><content>content_2k0urd0208</content></entry></data>

2022-09-20 23:04:12 | target: http://localhost:8088

2022-09-20 23:04:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-20 23:04:12 | entity: <data><node>node_3cuwe90204</node><expire-at>2022-09-21T06:04:17Z</expire-at><entry><content>content_2k0urd0208</content></entry></data>

2022-09-20 23:04:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 06:04:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 23:04:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b8422510-aa33-47fc-b441-a727390bc761</value></item-id></result>

2022-09-20 23:04:12 | contains: true

2022-09-20 23:04:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-20 23:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-09-20 23:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-20 23:04:20 | [Mutex] waiting for: [user_regular99acz90203@test-domain.com:message:received:content_2k0urd0208]

2022-09-20 23:04:35 | [Mutex] timeout. Not received [user_regular99acz90203@test-domain.com:message:received:content_2k0urd0208]

2022-09-20 23:04:35 | [Mutex] received everything.

2022-09-20 23:04:35 | [Mutex] isItemNotified: user_regular99acz90203@test-domain.com:message:received:content_2k0urd0208 :: false

2022-09-20 23:04:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2k0urd0208 :: true