Generated by TestNG with ReportNG at 04:16 PDT on Tuesday 25 October 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.554s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.576s
2022-10-25 04:32:50 |

2022-10-25 04:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-25 04:32:50 | ------------------------------------

2022-10-25 04:32:50 | [Mutex] isItemNotified: node_cdycbo0204:exists :: false

2022-10-25 04:32:50 | [Mutex] waiting for: [node_cdycbo0204:create_node]

2022-10-25 04:32:50 | [Mutex] received everything.

2022-10-25 04:32:50 | [Mutex] isItemNotified: node_cdycbo0204:create_node:success :: true

2022-10-25 04:32:50 | [Mutex] waiting for: [node_cdycbo0204:subscribe_node]

2022-10-25 04:32:50 | [Mutex] waiting for: [node_cdycbo0204:subscribe_node]

2022-10-25 04:32:50 | [Mutex] received everything.

2022-10-25 04:32:50 | [Mutex] isItemNotified: node_cdycbo0204:subscribe_node:success :: true

2022-10-25 04:32:50 |


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


2022-10-25 04:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-25 04:32:50 | command: <data><node>node_cdycbo0204</node><entry><content>content_89rxxk0205</content></entry></data>

2022-10-25 04:32:50 | target: http://localhost:8088

2022-10-25 04:32:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-25 04:32:50 | entity: <data><node>node_cdycbo0204</node><entry><content>content_89rxxk0205</content></entry></data>

2022-10-25 04:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-25 04:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d497ac5b-5dca-4cb1-831a-5fa5194b619b</value></item-id></result>

2022-10-25 04:32:50 | contains: true

2022-10-25 04:32:50 | [Mutex] received everything.

2022-10-25 04:32:50 | [Mutex] isItemNotified: user_regularu3ae1q0203@test-domain.com:message:received:content_89rxxk0205 :: true

2022-10-25 04:32:50 |


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


2022-10-25 04:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-25 04:32:50 | command: <data><node>node_cdycbo0204</node><expire-at>2022-10-25T11:32:45Z</expire-at><entry><content>content_fe3lnf0206</content></entry></data>

2022-10-25 04:32:50 | target: http://localhost:8088

2022-10-25 04:32:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-25 04:32:50 | entity: <data><node>node_cdycbo0204</node><expire-at>2022-10-25T11:32:45Z</expire-at><entry><content>content_fe3lnf0206</content></entry></data>

2022-10-25 04:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-25 04:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c96e78f-2ed2-4db6-8cdd-f45441453c27</value></item-id></result>

2022-10-25 04:32:50 | contains: true

2022-10-25 04:32:50 | [Mutex] waiting for: [user_regularu3ae1q0203@test-domain.com:message:received:content_fe3lnf0206]

2022-10-25 04:33:05 | [Mutex] timeout. Not received [user_regularu3ae1q0203@test-domain.com:message:received:content_fe3lnf0206]

2022-10-25 04:33:05 | [Mutex] isItemNotified: user_regularu3ae1q0203@test-domain.com:message:received:content_fe3lnf0206 :: false

2022-10-25 04:33:05 |


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


2022-10-25 04:33:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-25 04:33:05 | command: <data><node>node_cdycbo0204</node><entry><content>content_r9y3h40207</content></entry></data>

2022-10-25 04:33:05 | target: http://localhost:8088

2022-10-25 04:33:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-25 04:33:05 | entity: <data><node>node_cdycbo0204</node><entry><content>content_r9y3h40207</content></entry></data>

2022-10-25 04:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:33:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-25 04:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa5939fe-be63-4b86-bb6e-2af384f9b933</value></item-id></result>

2022-10-25 04:33:05 | contains: true

2022-10-25 04:33:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-10-25 04:33:10 | [Mutex] received everything.

2022-10-25 04:33:10 | [Mutex] isItemNotified: user_regularu3ae1q0203@test-domain.com:message:received:content_r9y3h40207 :: true

2022-10-25 04:33:10 |


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


2022-10-25 04:33:10 | [Mutex] received everything.

2022-10-25 04:33:10 | [Mutex] isItemNotified: node_cdycbo0204:subscribe_node:success :: true

2022-10-25 04:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-25 04:33:10 | command: <data><node>node_cdycbo0204</node><expire-at>2022-10-25T11:33:15Z</expire-at><entry><content>content_38q3go0208</content></entry></data>

2022-10-25 04:33:10 | target: http://localhost:8088

2022-10-25 04:33:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-25 04:33:10 | entity: <data><node>node_cdycbo0204</node><expire-at>2022-10-25T11:33:15Z</expire-at><entry><content>content_38q3go0208</content></entry></data>

2022-10-25 04:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-25 04:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>00b08364-b10e-4bff-962b-7a7e24a5de15</value></item-id></result>

2022-10-25 04:33:10 | contains: true

2022-10-25 04:33:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-25 04:33:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-25 04:33:18 | [Mutex] waiting for: [user_regularu3ae1q0203@test-domain.com:message:received:content_38q3go0208]

2022-10-25 04:33:18 | [Mutex] waiting for: [user_regularu3ae1q0203@test-domain.com:message:received:content_38q3go0208]

2022-10-25 04:33:33 | [Mutex] timeout. Not received [user_regularu3ae1q0203@test-domain.com:message:received:content_38q3go0208]

2022-10-25 04:33:33 | [Mutex] received everything.

2022-10-25 04:33:33 | [Mutex] isItemNotified: user_regularu3ae1q0203@test-domain.com:message:received:content_38q3go0208 :: false

2022-10-25 04:33:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_38q3go0208 :: true