Generated by TestNG with ReportNG at 22:19 PDT on Sunday 07 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.798s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.559s
2022-08-07 22:34:15 |

2022-08-07 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-07 22:34:15 | ------------------------------------

2022-08-07 22:34:15 | [Mutex] isItemNotified: node_1aqu7d0204:exists :: false

2022-08-07 22:34:15 | [Mutex] waiting for: [node_1aqu7d0204:create_node]

2022-08-07 22:34:15 | [Mutex] received everything.

2022-08-07 22:34:15 | [Mutex] isItemNotified: node_1aqu7d0204:create_node:success :: true

2022-08-07 22:34:15 | [Mutex] waiting for: [node_1aqu7d0204:subscribe_node]

2022-08-07 22:34:15 | [Mutex] received everything.

2022-08-07 22:34:15 | [Mutex] isItemNotified: node_1aqu7d0204:subscribe_node:success :: true

2022-08-07 22:34:15 |


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


2022-08-07 22:34:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:15 | command: <data><node>node_1aqu7d0204</node><entry><content>content_n3r26s0205</content></entry></data>

2022-08-07 22:34:15 | target: http://localhost:8088

2022-08-07 22:34:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-07 22:34:15 | entity: <data><node>node_1aqu7d0204</node><entry><content>content_n3r26s0205</content></entry></data>

2022-08-07 22:34:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a1e49e3d-1848-47dd-90e5-e36c861d293e</value></item-id></result>

2022-08-07 22:34:15 | contains: true

2022-08-07 22:34:15 | [Mutex] received everything.

2022-08-07 22:34:15 | [Mutex] isItemNotified: user_regular2jmqyx0203@test-domain.com:message:received:content_n3r26s0205 :: true

2022-08-07 22:34:15 |


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


2022-08-07 22:34:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:15 | command: <data><node>node_1aqu7d0204</node><expire-at>2022-08-08T05:34:10Z</expire-at><entry><content>content_7rzpvk0206</content></entry></data>

2022-08-07 22:34:15 | target: http://localhost:8088

2022-08-07 22:34:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-07 22:34:15 | entity: <data><node>node_1aqu7d0204</node><expire-at>2022-08-08T05:34:10Z</expire-at><entry><content>content_7rzpvk0206</content></entry></data>

2022-08-07 22:34:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8520389e-28aa-466d-a134-35b86ad6d159</value></item-id></result>

2022-08-07 22:34:15 | contains: true

2022-08-07 22:34:15 | [Mutex] waiting for: [user_regular2jmqyx0203@test-domain.com:message:received:content_7rzpvk0206]

2022-08-07 22:34:30 | [Mutex] timeout. Not received [user_regular2jmqyx0203@test-domain.com:message:received:content_7rzpvk0206]

2022-08-07 22:34:30 | [Mutex] isItemNotified: user_regular2jmqyx0203@test-domain.com:message:received:content_7rzpvk0206 :: false

2022-08-07 22:34:30 |


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


2022-08-07 22:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:30 | command: <data><node>node_1aqu7d0204</node><entry><content>content_jhecny0207</content></entry></data>

2022-08-07 22:34:30 | target: http://localhost:8088

2022-08-07 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-07 22:34:30 | entity: <data><node>node_1aqu7d0204</node><entry><content>content_jhecny0207</content></entry></data>

2022-08-07 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a17c520-5353-4515-842e-eb33bbe89cc3</value></item-id></result>

2022-08-07 22:34:30 | contains: true

2022-08-07 22:34:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-07 22:34:36 | [Mutex] waiting for: [user_regular2jmqyx0203@test-domain.com:message:received:content_jhecny0207]

2022-08-07 22:34:36 | [Mutex] waiting for: [user_regular2jmqyx0203@test-domain.com:message:received:content_jhecny0207]

2022-08-07 22:34:36 | [Mutex] received everything.

2022-08-07 22:34:36 | [Mutex] isItemNotified: user_regular2jmqyx0203@test-domain.com:message:received:content_jhecny0207 :: true

2022-08-07 22:34:36 |


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


2022-08-07 22:34:36 | [Mutex] received everything.

2022-08-07 22:34:36 | [Mutex] isItemNotified: node_1aqu7d0204:subscribe_node:success :: true

2022-08-07 22:34:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:36 | command: <data><node>node_1aqu7d0204</node><expire-at>2022-08-08T05:34:41Z</expire-at><entry><content>content_u29myn0208</content></entry></data>

2022-08-07 22:34:36 | target: http://localhost:8088

2022-08-07 22:34:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-07 22:34:36 | entity: <data><node>node_1aqu7d0204</node><expire-at>2022-08-08T05:34:41Z</expire-at><entry><content>content_u29myn0208</content></entry></data>

2022-08-07 22:34:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dd52c655-4247-41d9-8b36-a9944dc1defa</value></item-id></result>

2022-08-07 22:34:36 | contains: true

2022-08-07 22:34:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-07 22:34:44 | [Mutex] waiting for: [user_regular2jmqyx0203@test-domain.com:message:received:content_u29myn0208]

2022-08-07 22:34:44 | [Mutex] waiting for: [user_regular2jmqyx0203@test-domain.com:message:received:content_u29myn0208]

2022-08-07 22:34:59 | [Mutex] timeout. Not received [user_regular2jmqyx0203@test-domain.com:message:received:content_u29myn0208]

2022-08-07 22:34:59 | [Mutex] received everything.

2022-08-07 22:34:59 | [Mutex] isItemNotified: user_regular2jmqyx0203@test-domain.com:message:received:content_u29myn0208 :: false

2022-08-07 22:34:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u29myn0208 :: true