Generated by TestNG with ReportNG at 22:19 PDT on Thursday 11 August 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.496s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.512s
2022-08-11 22:33:37 |

2022-08-11 22:33:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-11 22:33:37 | ------------------------------------

2022-08-11 22:33:37 | [Mutex] isItemNotified: node_79qb4y0204:exists :: false

2022-08-11 22:33:37 | [Mutex] waiting for: [node_79qb4y0204:create_node]

2022-08-11 22:33:38 | [Mutex] received everything.

2022-08-11 22:33:38 | [Mutex] isItemNotified: node_79qb4y0204:create_node:success :: true

2022-08-11 22:33:38 | [Mutex] waiting for: [node_79qb4y0204:subscribe_node]

2022-08-11 22:33:38 | [Mutex] waiting for: [node_79qb4y0204:subscribe_node]

2022-08-11 22:33:38 | [Mutex] received everything.

2022-08-11 22:33:38 | [Mutex] isItemNotified: node_79qb4y0204:subscribe_node:success :: true

2022-08-11 22:33:38 |


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


2022-08-11 22:33:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 22:33:38 | command: <data><node>node_79qb4y0204</node><entry><content>content_ae9dfw0205</content></entry></data>

2022-08-11 22:33:38 | target: http://localhost:8088

2022-08-11 22:33:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-11 22:33:38 | entity: <data><node>node_79qb4y0204</node><entry><content>content_ae9dfw0205</content></entry></data>

2022-08-11 22:33:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:33:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 22:33:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>209eee19-264d-4a11-aded-054581b99707</value></item-id></result>

2022-08-11 22:33:38 | contains: true

2022-08-11 22:33:38 | [Mutex] received everything.

2022-08-11 22:33:38 | [Mutex] isItemNotified: user_regularpmn1q60203@test-domain.com:message:received:content_ae9dfw0205 :: true

2022-08-11 22:33:38 |


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


2022-08-11 22:33:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 22:33:38 | command: <data><node>node_79qb4y0204</node><expire-at>2022-08-12T05:33:33Z</expire-at><entry><content>content_z4up0d0206</content></entry></data>

2022-08-11 22:33:38 | target: http://localhost:8088

2022-08-11 22:33:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-11 22:33:38 | entity: <data><node>node_79qb4y0204</node><expire-at>2022-08-12T05:33:33Z</expire-at><entry><content>content_z4up0d0206</content></entry></data>

2022-08-11 22:33:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:33:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 22:33:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>839f8848-c518-41c0-971f-0c2d922068f6</value></item-id></result>

2022-08-11 22:33:38 | contains: true

2022-08-11 22:33:38 | [Mutex] waiting for: [user_regularpmn1q60203@test-domain.com:message:received:content_z4up0d0206]

2022-08-11 22:33:53 | [Mutex] timeout. Not received [user_regularpmn1q60203@test-domain.com:message:received:content_z4up0d0206]

2022-08-11 22:33:53 | [Mutex] isItemNotified: user_regularpmn1q60203@test-domain.com:message:received:content_z4up0d0206 :: false

2022-08-11 22:33:53 |


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


2022-08-11 22:33:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 22:33:53 | command: <data><node>node_79qb4y0204</node><entry><content>content_8tf7uw0207</content></entry></data>

2022-08-11 22:33:53 | target: http://localhost:8088

2022-08-11 22:33:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-11 22:33:53 | entity: <data><node>node_79qb4y0204</node><entry><content>content_8tf7uw0207</content></entry></data>

2022-08-11 22:33:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:33:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 22:33:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5957858-115a-4b29-a927-193d5e4e2d6d</value></item-id></result>

2022-08-11 22:33:53 | contains: true

2022-08-11 22:33:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-11 22:33:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-11 22:33:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-11 22:33:58 | [Mutex] received everything.

2022-08-11 22:33:58 | [Mutex] isItemNotified: user_regularpmn1q60203@test-domain.com:message:received:content_8tf7uw0207 :: true

2022-08-11 22:33:58 |


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


2022-08-11 22:33:58 | [Mutex] received everything.

2022-08-11 22:33:58 | [Mutex] isItemNotified: node_79qb4y0204:subscribe_node:success :: true

2022-08-11 22:33:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 22:33:58 | command: <data><node>node_79qb4y0204</node><expire-at>2022-08-12T05:34:03Z</expire-at><entry><content>content_z89ufh0208</content></entry></data>

2022-08-11 22:33:58 | target: http://localhost:8088

2022-08-11 22:33:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-11 22:33:58 | entity: <data><node>node_79qb4y0204</node><expire-at>2022-08-12T05:34:03Z</expire-at><entry><content>content_z89ufh0208</content></entry></data>

2022-08-11 22:33:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:33:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 22:33:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c91504ca-c7ab-4d54-abac-f597e6c8a77a</value></item-id></result>

2022-08-11 22:33:58 | contains: true

2022-08-11 22:34:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-11 22:34:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-11 22:34:06 | [Mutex] waiting for: [user_regularpmn1q60203@test-domain.com:message:received:content_z89ufh0208]

2022-08-11 22:34:06 | [Mutex] waiting for: [user_regularpmn1q60203@test-domain.com:message:received:content_z89ufh0208]

2022-08-11 22:34:21 | [Mutex] timeout. Not received [user_regularpmn1q60203@test-domain.com:message:received:content_z89ufh0208]

2022-08-11 22:34:21 | [Mutex] received everything.

2022-08-11 22:34:21 | [Mutex] isItemNotified: user_regularpmn1q60203@test-domain.com:message:received:content_z89ufh0208 :: false

2022-08-11 22:34:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z89ufh0208 :: true