Generated by TestNG with ReportNG at 05:50 PDT on Tuesday 12 July 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.739s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.560s
2022-07-12 06:06:13 |

2022-07-12 06:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 06:06:13 | ------------------------------------

2022-07-12 06:06:13 | [Mutex] isItemNotified: node_fsg53f0204:exists :: false

2022-07-12 06:06:13 | [Mutex] waiting for: [node_fsg53f0204:create_node]

2022-07-12 06:06:13 | [Mutex] waiting for: [node_fsg53f0204:create_node]

2022-07-12 06:06:13 | [Mutex] received everything.

2022-07-12 06:06:13 | [Mutex] isItemNotified: node_fsg53f0204:create_node:success :: true

2022-07-12 06:06:13 | [Mutex] waiting for: [node_fsg53f0204:subscribe_node]

2022-07-12 06:06:13 | [Mutex] received everything.

2022-07-12 06:06:13 | [Mutex] isItemNotified: node_fsg53f0204:subscribe_node:success :: true

2022-07-12 06:06:13 |


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


2022-07-12 06:06:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:06:13 | command: <data><node>node_fsg53f0204</node><entry><content>content_h92rj40205</content></entry></data>

2022-07-12 06:06:13 | target: http://localhost:8088

2022-07-12 06:06:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 06:06:13 | entity: <data><node>node_fsg53f0204</node><entry><content>content_h92rj40205</content></entry></data>

2022-07-12 06:06:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:06:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:06:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b331e390-1bf4-4bcb-995f-12224b11a8e8</value></item-id></result>

2022-07-12 06:06:13 | contains: true

2022-07-12 06:06:13 | [Mutex] received everything.

2022-07-12 06:06:13 | [Mutex] isItemNotified: user_regularo2ki200203@test-domain.com:message:received:content_h92rj40205 :: true

2022-07-12 06:06:13 |


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


2022-07-12 06:06:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:06:13 | command: <data><node>node_fsg53f0204</node><expire-at>2022-07-12T13:06:08Z</expire-at><entry><content>content_buoevi0206</content></entry></data>

2022-07-12 06:06:13 | target: http://localhost:8088

2022-07-12 06:06:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 06:06:13 | entity: <data><node>node_fsg53f0204</node><expire-at>2022-07-12T13:06:08Z</expire-at><entry><content>content_buoevi0206</content></entry></data>

2022-07-12 06:06:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:06:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:06:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a930255-a57a-41a7-a8eb-84899400ae4a</value></item-id></result>

2022-07-12 06:06:13 | contains: true

2022-07-12 06:06:13 | [Mutex] waiting for: [user_regularo2ki200203@test-domain.com:message:received:content_buoevi0206]

2022-07-12 06:06:28 | [Mutex] timeout. Not received [user_regularo2ki200203@test-domain.com:message:received:content_buoevi0206]

2022-07-12 06:06:28 | [Mutex] isItemNotified: user_regularo2ki200203@test-domain.com:message:received:content_buoevi0206 :: false

2022-07-12 06:06:28 |


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


2022-07-12 06:06:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:06:28 | command: <data><node>node_fsg53f0204</node><entry><content>content_lwrj4b0207</content></entry></data>

2022-07-12 06:06:28 | target: http://localhost:8088

2022-07-12 06:06:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 06:06:28 | entity: <data><node>node_fsg53f0204</node><entry><content>content_lwrj4b0207</content></entry></data>

2022-07-12 06:06:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:06:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:06:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8c5a9ab-bcdb-4f03-973e-c6366e87ff41</value></item-id></result>

2022-07-12 06:06:28 | contains: true

2022-07-12 06:06:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-12 06:06:34 | [Mutex] waiting for: [user_regularo2ki200203@test-domain.com:message:received:content_lwrj4b0207]

2022-07-12 06:06:34 | [Mutex] waiting for: [user_regularo2ki200203@test-domain.com:message:received:content_lwrj4b0207]

2022-07-12 06:06:34 | [Mutex] received everything.

2022-07-12 06:06:34 | [Mutex] isItemNotified: user_regularo2ki200203@test-domain.com:message:received:content_lwrj4b0207 :: true

2022-07-12 06:06:34 |


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


2022-07-12 06:06:34 | [Mutex] received everything.

2022-07-12 06:06:34 | [Mutex] isItemNotified: node_fsg53f0204:subscribe_node:success :: true

2022-07-12 06:06:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:06:34 | command: <data><node>node_fsg53f0204</node><expire-at>2022-07-12T13:06:39Z</expire-at><entry><content>content_lryvku0208</content></entry></data>

2022-07-12 06:06:34 | target: http://localhost:8088

2022-07-12 06:06:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 06:06:34 | entity: <data><node>node_fsg53f0204</node><expire-at>2022-07-12T13:06:39Z</expire-at><entry><content>content_lryvku0208</content></entry></data>

2022-07-12 06:06:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:06:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:06:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cb913a72-6032-483b-9927-274b076df9cb</value></item-id></result>

2022-07-12 06:06:34 | contains: true

2022-07-12 06:06:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-12 06:06:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 06:06:42 | [Mutex] waiting for: [user_regularo2ki200203@test-domain.com:message:received:content_lryvku0208]

2022-07-12 06:06:42 | [Mutex] waiting for: [user_regularo2ki200203@test-domain.com:message:received:content_lryvku0208]

2022-07-12 06:06:57 | [Mutex] timeout. Not received [user_regularo2ki200203@test-domain.com:message:received:content_lryvku0208]

2022-07-12 06:06:57 | [Mutex] received everything.

2022-07-12 06:06:57 | [Mutex] isItemNotified: user_regularo2ki200203@test-domain.com:message:received:content_lryvku0208 :: false

2022-07-12 06:06:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lryvku0208 :: true