Generated by TestNG with ReportNG at 23:02 PDT on Thursday 19 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.871s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.604s
2022-05-19 23:23:56 |

2022-05-19 23:23:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-19 23:23:56 | ------------------------------------

2022-05-19 23:23:56 | [Mutex] isItemNotified: node_3hiekx0204:exists :: false

2022-05-19 23:23:56 | [Mutex] waiting for: [node_3hiekx0204:create_node]

2022-05-19 23:23:56 | [Mutex] received everything.

2022-05-19 23:23:56 | [Mutex] isItemNotified: node_3hiekx0204:create_node:success :: true

2022-05-19 23:23:56 | [Mutex] waiting for: [node_3hiekx0204:subscribe_node]

2022-05-19 23:23:56 | [Mutex] received everything.

2022-05-19 23:23:56 | [Mutex] isItemNotified: node_3hiekx0204:subscribe_node:success :: true

2022-05-19 23:23:56 |


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


2022-05-19 23:23:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 23:23:56 | command: <data><node>node_3hiekx0204</node><entry><content>content_46n9e30205</content></entry></data>

2022-05-19 23:23:56 | target: http://localhost:8088

2022-05-19 23:23:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-19 23:23:56 | entity: <data><node>node_3hiekx0204</node><entry><content>content_46n9e30205</content></entry></data>

2022-05-19 23:23:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 06:23:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 23:23:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de681a63-f293-434e-9962-b6c775481f22</value></item-id></result>

2022-05-19 23:23:56 | contains: true

2022-05-19 23:23:56 | [Mutex] received everything.

2022-05-19 23:23:56 | [Mutex] isItemNotified: user_regularzd7am30203@test-domain.com:message:received:content_46n9e30205 :: true

2022-05-19 23:23:56 |


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


2022-05-19 23:23:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 23:23:56 | command: <data><node>node_3hiekx0204</node><expire-at>2022-05-20T06:23:51Z</expire-at><entry><content>content_83jg6a0206</content></entry></data>

2022-05-19 23:23:56 | target: http://localhost:8088

2022-05-19 23:23:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-19 23:23:56 | entity: <data><node>node_3hiekx0204</node><expire-at>2022-05-20T06:23:51Z</expire-at><entry><content>content_83jg6a0206</content></entry></data>

2022-05-19 23:23:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 06:23:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 23:23:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c2be8389-b828-442f-b745-d353784d6d0a</value></item-id></result>

2022-05-19 23:23:56 | contains: true

2022-05-19 23:23:56 | [Mutex] waiting for: [user_regularzd7am30203@test-domain.com:message:received:content_83jg6a0206]

2022-05-19 23:24:11 | [Mutex] timeout. Not received [user_regularzd7am30203@test-domain.com:message:received:content_83jg6a0206]

2022-05-19 23:24:11 | [Mutex] isItemNotified: user_regularzd7am30203@test-domain.com:message:received:content_83jg6a0206 :: false

2022-05-19 23:24:11 |


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


2022-05-19 23:24:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 23:24:11 | command: <data><node>node_3hiekx0204</node><entry><content>content_umuxe50207</content></entry></data>

2022-05-19 23:24:11 | target: http://localhost:8088

2022-05-19 23:24:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-19 23:24:11 | entity: <data><node>node_3hiekx0204</node><entry><content>content_umuxe50207</content></entry></data>

2022-05-19 23:24:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 06:24:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 23:24:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0b7e5c98-5c48-4c94-9e81-8a38c2ac5b8a</value></item-id></result>

2022-05-19 23:24:11 | contains: true

2022-05-19 23:24:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-05-19 23:24:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-19 23:24:16 | [Mutex] waiting for: [user_regularzd7am30203@test-domain.com:message:received:content_umuxe50207]

2022-05-19 23:24:16 | [Mutex] received everything.

2022-05-19 23:24:16 | [Mutex] isItemNotified: user_regularzd7am30203@test-domain.com:message:received:content_umuxe50207 :: true

2022-05-19 23:24:16 |


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


2022-05-19 23:24:16 | [Mutex] received everything.

2022-05-19 23:24:16 | [Mutex] isItemNotified: node_3hiekx0204:subscribe_node:success :: true

2022-05-19 23:24:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 23:24:16 | command: <data><node>node_3hiekx0204</node><expire-at>2022-05-20T06:24:21Z</expire-at><entry><content>content_7elckn0208</content></entry></data>

2022-05-19 23:24:16 | target: http://localhost:8088

2022-05-19 23:24:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-19 23:24:16 | entity: <data><node>node_3hiekx0204</node><expire-at>2022-05-20T06:24:21Z</expire-at><entry><content>content_7elckn0208</content></entry></data>

2022-05-19 23:24:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 06:24:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 23:24:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9420950-cfc1-4cf8-8700-d0396554d5f7</value></item-id></result>

2022-05-19 23:24:16 | contains: true

2022-05-19 23:24:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-19 23:24:24 | [Mutex] waiting for: [user_regularzd7am30203@test-domain.com:message:received:content_7elckn0208]

2022-05-19 23:24:24 | [Mutex] waiting for: [user_regularzd7am30203@test-domain.com:message:received:content_7elckn0208]

2022-05-19 23:24:39 | [Mutex] timeout. Not received [user_regularzd7am30203@test-domain.com:message:received:content_7elckn0208]

2022-05-19 23:24:39 | [Mutex] received everything.

2022-05-19 23:24:39 | [Mutex] isItemNotified: user_regularzd7am30203@test-domain.com:message:received:content_7elckn0208 :: false

2022-05-19 23:24:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7elckn0208 :: true