Giter Site home page Giter Site logo

retinahttptest's Introduction

RetinaHTTPtest

Este repositório contém alguns programas que utilizei para testar as requisições HTTP do retina

Versões utilizadas

  • Python: 3.9.6
  • Flask: 1.1.2
  • Werkzeug: 0.16.0
  • pipenv: version 2021.5.29
  • cmake: version 3.16.3

Configurando ambiente virtual para o servidor

Eu segui algo parecido com as informações desse site: http://digitalocean.com/community/tutorials/processing-incoming-request-data-in-flask-pt

Depois de clonar o repositório, na pasta ./RetinaServer crie um ambiente virtual com Flask:

pipenv install Flask

E abra o ambiente virtual com:

pipenv shell

Para ativar o servidor utilize dentro desse ambiente virtual o comando:

 python app.py

Para o teste da sendHTTP é importante configurar no arquivo .RetinaServer/app.py a variável UPLOAD_FOLDER com o caminho completo de onde você deseja que o arquivo seja salvo no seu computador.

Compilando o o código c++

No diretório ./testLibCurl/build execute os seguintes comandos:

cmake ../
cmake --build .

Para rodar o teste, ainda no diretório ./testLibCurl/build, execute:

./tstlibcurl X

Onde X pode ser 1, 2 ou 3 dependendo do teste que se deseja fazer.

retinahttptest's People

Contributors

leonardobenetti avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.