Generated by TestNG with ReportNG at 22:30 PDT on Sunday 03 July 2022
root@7c41cec37518 / 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.950s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.708s
2022-07-03 22:52:30 |

2022-07-03 22:52:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-03 22:52:30 | ------------------------------------

2022-07-03 22:52:30 | [Mutex] isItemNotified: node_7x76f70204:exists :: false

2022-07-03 22:52:30 | [Mutex] waiting for: [node_7x76f70204:create_node]

2022-07-03 22:52:30 | [Mutex] waiting for: [node_7x76f70204:create_node]

2022-07-03 22:52:30 | [Mutex] received everything.

2022-07-03 22:52:30 | [Mutex] isItemNotified: node_7x76f70204:create_node:success :: true

2022-07-03 22:52:30 | [Mutex] waiting for: [node_7x76f70204:subscribe_node]

2022-07-03 22:52:30 | [Mutex] waiting for: [node_7x76f70204:subscribe_node]

2022-07-03 22:52:30 | [Mutex] received everything.

2022-07-03 22:52:30 | [Mutex] isItemNotified: node_7x76f70204:subscribe_node:success :: true

2022-07-03 22:52:30 |


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


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

2022-07-03 22:52:30 | command: <data><node>node_7x76f70204</node><entry><content>content_o9gagx0205</content></entry></data>

2022-07-03 22:52:30 | target: http://localhost:8088

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

2022-07-03 22:52:30 | entity: <data><node>node_7x76f70204</node><entry><content>content_o9gagx0205</content></entry></data>

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

2022-07-03 22:52:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12686258-240b-44d0-bcf0-23bfbc7924a9</value></item-id></result>

2022-07-03 22:52:30 | contains: true

2022-07-03 22:52:30 | [Mutex] received everything.

2022-07-03 22:52:30 | [Mutex] isItemNotified: user_regular56dz180203@test-domain.com:message:received:content_o9gagx0205 :: true

2022-07-03 22:52:30 |


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


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

2022-07-03 22:52:30 | command: <data><node>node_7x76f70204</node><expire-at>2022-07-04T05:52:25Z</expire-at><entry><content>content_it7z7w0206</content></entry></data>

2022-07-03 22:52:30 | target: http://localhost:8088

2022-07-03 22:52:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-03 22:52:30 | entity: <data><node>node_7x76f70204</node><expire-at>2022-07-04T05:52:25Z</expire-at><entry><content>content_it7z7w0206</content></entry></data>

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

2022-07-03 22:52:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a3934317-42ad-4d63-a9ee-ea839d850269</value></item-id></result>

2022-07-03 22:52:30 | contains: true

2022-07-03 22:52:30 | [Mutex] waiting for: [user_regular56dz180203@test-domain.com:message:received:content_it7z7w0206]

2022-07-03 22:52:45 | [Mutex] timeout. Not received [user_regular56dz180203@test-domain.com:message:received:content_it7z7w0206]

2022-07-03 22:52:45 | [Mutex] isItemNotified: user_regular56dz180203@test-domain.com:message:received:content_it7z7w0206 :: false

2022-07-03 22:52:45 |


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


2022-07-03 22:52:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 22:52:45 | command: <data><node>node_7x76f70204</node><entry><content>content_sbug0u0207</content></entry></data>

2022-07-03 22:52:45 | target: http://localhost:8088

2022-07-03 22:52:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 22:52:45 | entity: <data><node>node_7x76f70204</node><entry><content>content_sbug0u0207</content></entry></data>

2022-07-03 22:52:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:52:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 22:52:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e608cd2c-5db1-4740-9c53-dd49234169db</value></item-id></result>

2022-07-03 22:52:46 | contains: true

2022-07-03 22:52:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-03 22:52:51 | [Mutex] waiting for: [user_regular56dz180203@test-domain.com:message:received:content_sbug0u0207]

2022-07-03 22:52:51 | [Mutex] waiting for: [user_regular56dz180203@test-domain.com:message:received:content_sbug0u0207]

2022-07-03 22:52:51 | [Mutex] received everything.

2022-07-03 22:52:51 | [Mutex] isItemNotified: user_regular56dz180203@test-domain.com:message:received:content_sbug0u0207 :: true

2022-07-03 22:52:51 |


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


2022-07-03 22:52:51 | [Mutex] received everything.

2022-07-03 22:52:51 | [Mutex] isItemNotified: node_7x76f70204:subscribe_node:success :: true

2022-07-03 22:52:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 22:52:51 | command: <data><node>node_7x76f70204</node><expire-at>2022-07-04T05:52:56Z</expire-at><entry><content>content_9h1qjq0208</content></entry></data>

2022-07-03 22:52:51 | target: http://localhost:8088

2022-07-03 22:52:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-03 22:52:51 | entity: <data><node>node_7x76f70204</node><expire-at>2022-07-04T05:52:56Z</expire-at><entry><content>content_9h1qjq0208</content></entry></data>

2022-07-03 22:52:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:52:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 22:52:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8421e420-5256-4974-ba74-7c6302994f13</value></item-id></result>

2022-07-03 22:52:51 | contains: true

2022-07-03 22:52:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-03 22:52:59 | [Mutex] waiting for: [user_regular56dz180203@test-domain.com:message:received:content_9h1qjq0208]

2022-07-03 22:52:59 | [Mutex] waiting for: [user_regular56dz180203@test-domain.com:message:received:content_9h1qjq0208]

2022-07-03 22:52:59 | [Mutex] waiting for: [user_regular56dz180203@test-domain.com:message:received:content_9h1qjq0208]

2022-07-03 22:53:14 | [Mutex] timeout. Not received [user_regular56dz180203@test-domain.com:message:received:content_9h1qjq0208]

2022-07-03 22:53:14 | [Mutex] received everything.

2022-07-03 22:53:14 | [Mutex] isItemNotified: user_regular56dz180203@test-domain.com:message:received:content_9h1qjq0208 :: false

2022-07-03 22:53:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9h1qjq0208 :: true