Generated by TestNG with ReportNG at 22:48 PDT on Monday 08 August 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.414s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.583s
2022-08-08 23:10:15 |

2022-08-08 23:10:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-08 23:10:15 | ------------------------------------

2022-08-08 23:10:15 | [Mutex] isItemNotified: node_nrp6nu0204:exists :: false

2022-08-08 23:10:15 | [Mutex] waiting for: [node_nrp6nu0204:create_node]

2022-08-08 23:10:15 | [Mutex] waiting for: [node_nrp6nu0204:create_node]

2022-08-08 23:10:15 | [Mutex] received everything.

2022-08-08 23:10:15 | [Mutex] isItemNotified: node_nrp6nu0204:create_node:success :: true

2022-08-08 23:10:15 | [Mutex] waiting for: [node_nrp6nu0204:subscribe_node]

2022-08-08 23:10:15 | [Mutex] received everything.

2022-08-08 23:10:15 | [Mutex] isItemNotified: node_nrp6nu0204:subscribe_node:success :: true

2022-08-08 23:10:15 |


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


2022-08-08 23:10:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 23:10:16 | command: <data><node>node_nrp6nu0204</node><entry><content>content_t87isj0205</content></entry></data>

2022-08-08 23:10:16 | target: http://localhost:8088

2022-08-08 23:10:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-08 23:10:16 | entity: <data><node>node_nrp6nu0204</node><entry><content>content_t87isj0205</content></entry></data>

2022-08-08 23:10:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:10:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 23:10:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd559a87-9566-4602-be6f-c10a6c9b85b6</value></item-id></result>

2022-08-08 23:10:16 | contains: true

2022-08-08 23:10:16 | [Mutex] received everything.

2022-08-08 23:10:16 | [Mutex] isItemNotified: user_regularbba62d0203@test-domain.com:message:received:content_t87isj0205 :: true

2022-08-08 23:10:16 |


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


2022-08-08 23:10:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 23:10:16 | command: <data><node>node_nrp6nu0204</node><expire-at>2022-08-09T06:10:11Z</expire-at><entry><content>content_3xav0j0206</content></entry></data>

2022-08-08 23:10:16 | target: http://localhost:8088

2022-08-08 23:10:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-08 23:10:16 | entity: <data><node>node_nrp6nu0204</node><expire-at>2022-08-09T06:10:11Z</expire-at><entry><content>content_3xav0j0206</content></entry></data>

2022-08-08 23:10:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:10:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 23:10:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5836d80d-cbdf-46fc-9492-d14cc5d3a4be</value></item-id></result>

2022-08-08 23:10:16 | contains: true

2022-08-08 23:10:16 | [Mutex] waiting for: [user_regularbba62d0203@test-domain.com:message:received:content_3xav0j0206]

2022-08-08 23:10:31 | [Mutex] timeout. Not received [user_regularbba62d0203@test-domain.com:message:received:content_3xav0j0206]

2022-08-08 23:10:31 | [Mutex] isItemNotified: user_regularbba62d0203@test-domain.com:message:received:content_3xav0j0206 :: false

2022-08-08 23:10:31 |


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


2022-08-08 23:10:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 23:10:31 | command: <data><node>node_nrp6nu0204</node><entry><content>content_dubw0c0207</content></entry></data>

2022-08-08 23:10:31 | target: http://localhost:8088

2022-08-08 23:10:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-08 23:10:31 | entity: <data><node>node_nrp6nu0204</node><entry><content>content_dubw0c0207</content></entry></data>

2022-08-08 23:10:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:10:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 23:10:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80f5f470-db60-4ddf-beb4-e9536b5f0b8c</value></item-id></result>

2022-08-08 23:10:31 | contains: true

2022-08-08 23:10:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-08 23:10:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-08 23:10:36 | [Mutex] waiting for: [user_regularbba62d0203@test-domain.com:message:received:content_dubw0c0207]

2022-08-08 23:10:36 | [Mutex] waiting for: [user_regularbba62d0203@test-domain.com:message:received:content_dubw0c0207]

2022-08-08 23:10:36 | [Mutex] received everything.

2022-08-08 23:10:36 | [Mutex] isItemNotified: user_regularbba62d0203@test-domain.com:message:received:content_dubw0c0207 :: true

2022-08-08 23:10:36 |


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


2022-08-08 23:10:36 | [Mutex] received everything.

2022-08-08 23:10:36 | [Mutex] isItemNotified: node_nrp6nu0204:subscribe_node:success :: true

2022-08-08 23:10:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-08 23:10:36 | command: <data><node>node_nrp6nu0204</node><expire-at>2022-08-09T06:10:41Z</expire-at><entry><content>content_mnjuy20208</content></entry></data>

2022-08-08 23:10:36 | target: http://localhost:8088

2022-08-08 23:10:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-08 23:10:36 | entity: <data><node>node_nrp6nu0204</node><expire-at>2022-08-09T06:10:41Z</expire-at><entry><content>content_mnjuy20208</content></entry></data>

2022-08-08 23:10:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:10:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-08 23:10:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>026e2f0e-af2a-4228-af78-1df35aed15b0</value></item-id></result>

2022-08-08 23:10:36 | contains: true

2022-08-08 23:10:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-08 23:10:44 | [Mutex] waiting for: [user_regularbba62d0203@test-domain.com:message:received:content_mnjuy20208]

2022-08-08 23:10:59 | [Mutex] timeout. Not received [user_regularbba62d0203@test-domain.com:message:received:content_mnjuy20208]

2022-08-08 23:10:59 | [Mutex] received everything.

2022-08-08 23:10:59 | [Mutex] isItemNotified: user_regularbba62d0203@test-domain.com:message:received:content_mnjuy20208 :: false

2022-08-08 23:10:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mnjuy20208 :: true